fixed previous commit (fix not applying in production)
This commit is contained in:
parent
1bbdce8080
commit
a21234e6c4
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue