From 00bc517cb41b1bf314d0e2ccbb857492681580c0 Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Wed, 30 Jun 2021 10:17:23 +1000 Subject: [PATCH] pre deploy patch --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index e35021d..4189453 100644 --- a/index.js +++ b/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, }, });