Merge pull request 'Trying to fix cookies.' (#94) from dev into master
All checks were successful
Deploy application with Docker / build_and_deploy (push) Successful in 3m45s
All checks were successful
Deploy application with Docker / build_and_deploy (push) Successful in 3m45s
Reviewed-on: #94
This commit is contained in:
commit
acb1ed1fd3
@ -43,8 +43,8 @@ func (s *Server) SetCookie(ctx *gin.Context, name, value string, duration time.D
|
|||||||
value,
|
value,
|
||||||
maxAge,
|
maxAge,
|
||||||
path,
|
path,
|
||||||
".gophernest.net", // or your backend domain / parent
|
"gophernest.net",
|
||||||
true, // secure
|
true,
|
||||||
httpOnly,
|
httpOnly,
|
||||||
)
|
)
|
||||||
case "dev":
|
case "dev":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user