.
This commit is contained in:
parent
6ec26a2e05
commit
bca128ed92
@ -28,7 +28,7 @@ app.use(responseTime());
|
|||||||
app.use(
|
app.use(
|
||||||
cors({
|
cors({
|
||||||
origin: config.server.cors_origin,
|
origin: config.server.cors_origin,
|
||||||
methods: "GET,POST,PUT,DELETE",
|
methods: "GET,POST,PUT,DELETE,OPTIONS",
|
||||||
credentials: true,
|
credentials: true,
|
||||||
|
|
||||||
exposedHeaders: [
|
exposedHeaders: [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user