Archived
fix default session cookie max age,
disable cgo in build
This commit is contained in:
1 parent
8b727920ec
commit
56766847f8
2 files changed
+2
-2
No files matched your search
@@ -1,5 +1,5 @@
|
||||
build: clean
|
||||
go build -ldflags="-s -w" -o dist/ .
|
||||
CGO_ENABLED=0 go build -ldflags="-s -w" -o dist/ .
|
||||
|
||||
test: clean
|
||||
go run .
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"path": "/",
|
||||
"httpOnly": true,
|
||||
"secure": false,
|
||||
"maxAge": 7200000
|
||||
"maxAge": 7200
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user