set gin mode to production

This commit is contained in:
Erikas 2024-07-05 00:31:54 +03:00
parent 037f1f4132
commit 90dcb361df

View File

@ -71,6 +71,7 @@ func Start(c *Config) {
// Setup gin //
gin.SetMode(gin.ReleaseMode)
r := gin.Default()
r.Use(sessions.Sessions("mysession", store))