Include secure middleware.
This commit is contained in:
parent
26e456eae3
commit
959eeda35f
2 changed files with 5 additions and 4 deletions
|
|
@ -31,8 +31,9 @@ func BuildRouter(c *container.Container) {
|
|||
echomw.RemoveTrailingSlashWithConfig(echomw.TrailingSlashConfig{
|
||||
RedirectCode: http.StatusMovedPermanently,
|
||||
}),
|
||||
echomw.RequestID(),
|
||||
echomw.Recover(),
|
||||
echomw.Secure(),
|
||||
echomw.RequestID(),
|
||||
echomw.Gzip(),
|
||||
echomw.Logger(),
|
||||
middleware.LogRequestID(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue