feat : update config & time format adjustment
This commit is contained in:
1 parent
f693ff60b2
commit
88b680aeee
3 files changed
+4
-2
No files matched your search
@@ -10,7 +10,7 @@ func TlsHandler() gin.HandlerFunc {
|
||||
return func(c *gin.Context) {
|
||||
secureMiddleware := secure.New(secure.Options{
|
||||
SSLRedirect: true,
|
||||
SSLHost: config.ApplicationConfig.Domain,
|
||||
SSLHost: config.SslConfig.Domain,
|
||||
})
|
||||
err := secureMiddleware.Process(c.Writer, c.Request)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user