fix default session cookie max age,
disable cgo in build
This commit is contained in:
parent
8f8f6bd1e8
commit
59eb3e4a02
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
build: clean
|
build: clean
|
||||||
go build -ldflags="-s -w" -o dist/ .
|
CGO_ENABLED=0 go build -ldflags="-s -w" -o dist/ .
|
||||||
|
|
||||||
test: clean
|
test: clean
|
||||||
go run .
|
go run .
|
||||||
|
@ -8,6 +8,6 @@
|
|||||||
"path": "/",
|
"path": "/",
|
||||||
"httpOnly": true,
|
"httpOnly": true,
|
||||||
"secure": false,
|
"secure": false,
|
||||||
"maxAge": 7200000
|
"maxAge": 7200
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user