Spaces to tabs (gofmt) files

This commit is contained in:
NotZippy
2017-05-03 15:56:37 -07:00
parent 49041fb83d
commit 18e6b92704
3 changed files with 18 additions and 20 deletions

View File

@@ -29,7 +29,6 @@ func init() {
revel.ActionInvoker, // Invoke the action.
}
// register startup functions with OnAppStart
// revel.DevMode and revel.RunMode only work inside of OnAppStart. See Example Startup Script
// ( order dependent )
@@ -45,7 +44,7 @@ func init() {
var HeaderFilter = func(c *revel.Controller, fc []revel.Filter) {
c.Response.SetHttpHeader("X-Frame-Options", "SAMEORIGIN")
c.Response.SetHttpHeader("X-XSS-Protection", "1; mode=block")
c.Response.SetHttpHeader( "X-Content-Type-Options", "nosniff")
c.Response.SetHttpHeader("X-Content-Type-Options", "nosniff")
fc[0](c, fc[1:]) // Execute the next filter stage.
}