diff --git a/Makefile b/Makefile index ec7cbb6..494cef7 100644 --- a/Makefile +++ b/Makefile @@ -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 . diff --git a/configs/template.config.json b/configs/template.config.json index 52968a3..d0f3c5c 100644 --- a/configs/template.config.json +++ b/configs/template.config.json @@ -8,6 +8,6 @@ "path": "/", "httpOnly": true, "secure": false, - "maxAge": 7200000 + "maxAge": 7200 } } \ No newline at end of file