mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-16 23:02:13 +11:00
pre deploy patch
This commit is contained in:
parent
a38f26477c
commit
00bc517cb4
1 changed files with 3 additions and 3 deletions
6
index.js
6
index.js
|
|
@ -4,7 +4,7 @@ const dotenv = require("dotenv");
|
|||
|
||||
dotenv.config({ path: ".env" });
|
||||
const fastify = require("fastify")({
|
||||
logger: true,
|
||||
logger: false,
|
||||
});
|
||||
|
||||
const fastifyFlash = require("fastify-flash");
|
||||
|
|
@ -30,8 +30,8 @@ fastify.register(require("fastify-secure-session"), {
|
|||
cookie: {
|
||||
path: "/",
|
||||
// options for setCookie, see https://github.com/fastify/fastify-cookie
|
||||
secure: false,
|
||||
httpOnly: false,
|
||||
secure: true,
|
||||
httpOnly: true,
|
||||
overwrite: true,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue