potential fix for login not working on production
This commit is contained in:
parent
f6301aa4af
commit
cebe435fb2
1 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,10 @@ if (process.env.FUNCTIONS_EMULATOR !== "true") {
|
|||
}
|
||||
|
||||
app.use(
|
||||
cors({ origin: ["https://llama.developomp.com", "http://localhost:5000"] })
|
||||
cors({
|
||||
origin: ["https://llama.developomp.com", "http://localhost:5000"],
|
||||
credentials: true,
|
||||
})
|
||||
)
|
||||
app.use(session(sessionOption))
|
||||
app.use(passport.initialize())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue