Refactoring for Gin, NoSurf and SCS continues.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package middleware
|
||||
|
||||
// ToDo: make sure im using with gin
|
||||
import "net/http"
|
||||
|
||||
func EnforceHTTPS(next http.Handler, enabled bool) http.Handler {
|
||||
|
||||
Reference in New Issue
Block a user