go: add secure middleware
This commit is contained in:
parent
5937a24ad9
commit
345838cc76
@ -12,4 +12,5 @@ func (a *App) StartupSettings() {
|
|||||||
e.Use(middleware.Logger())
|
e.Use(middleware.Logger())
|
||||||
e.Use(middleware.Recover())
|
e.Use(middleware.Recover())
|
||||||
e.Use(middleware.CSRF())
|
e.Use(middleware.CSRF())
|
||||||
|
e.Use(middleware.Secure())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user