go: add secure middleware

This commit is contained in:
leo 2023-03-22 23:15:04 +01:00
parent 5937a24ad9
commit 345838cc76
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -12,4 +12,5 @@ func (a *App) StartupSettings() {
e.Use(middleware.Logger())
e.Use(middleware.Recover())
e.Use(middleware.CSRF())
e.Use(middleware.Secure())
}