added docker file
This commit is contained in:
parent
8c5fe4266f
commit
a94f4df283
17 changed files with 931 additions and 9 deletions
|
|
@ -23,13 +23,13 @@ app.use(
|
|||
app.use(passport.initialize());
|
||||
app.use(passport.session());
|
||||
|
||||
app.use(
|
||||
cors({
|
||||
origin: "https://bytecamp-web.fly.dev",
|
||||
methods: "GET",
|
||||
credentials: true,
|
||||
})
|
||||
)
|
||||
// app.use(
|
||||
// cors({
|
||||
// origin: process.env.ACCEPTED_ORIGINS.split(","),
|
||||
// methods: "GET",
|
||||
// credentials: true,
|
||||
// })
|
||||
// )
|
||||
|
||||
app.use("/auth", authRoute);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue