fix: env init (#33)
This commit is contained in:
@@ -13,9 +13,6 @@ func SetCookie(gc *gin.Context, token string) {
|
||||
secure := true
|
||||
httpOnly := true
|
||||
|
||||
if !constants.IS_PROD {
|
||||
secure = false
|
||||
}
|
||||
u, err := url.Parse(constants.SERVER_URL)
|
||||
if err != nil {
|
||||
log.Println("error getting server host")
|
||||
|
Reference in New Issue
Block a user