From a21234e6c4cebcae9aa8af9f431addfb85cb58c3 Mon Sep 17 00:00:00 2001 From: developomp Date: Mon, 13 Sep 2021 12:06:18 +0900 Subject: [PATCH] fixed previous commit (fix not applying in production) --- functions/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/index.ts b/functions/src/index.ts index 5f16d89..b3187f1 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -28,7 +28,7 @@ const sessionOption: SessionOptions = { const app = express() -if (process.env.FUNCTIONS_EMULATOR === "true") { +if (process.env.FUNCTIONS_EMULATOR !== "true") { app.set("trust proxy", 1) sessionOption.cookie = { secure: true } }