added complete api functionality
This commit is contained in:
parent
956ede5619
commit
24bd570795
13 changed files with 205 additions and 107 deletions
|
|
@ -26,7 +26,7 @@ app.use(passport.session());
|
|||
app.use(
|
||||
cors({
|
||||
origin: process.env.ACCEPTED_ORIGINS.split(","),
|
||||
methods: "GET",
|
||||
methods: ["GET", "POST"],
|
||||
credentials: true,
|
||||
})
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue