Skip to content

Commit

Permalink
Adding domain
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Jan 6, 2025
1 parent de043c0 commit 3b8103c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions views/views.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func New(conf *Config, host string) *Views {
v.cookie.Options = &sessions.Options{
MaxAge: sixty * sixty * twentyFour,
HttpOnly: true,
Domain: "." + conf.DomainName,
Path: "/",
}

Expand Down

0 comments on commit 3b8103c

Please sign in to comment.