Update index.js
Browse files
index.js
CHANGED
@@ -76,7 +76,7 @@ const allowedOrigins = [
|
|
76 |
];
|
77 |
|
78 |
app.use(cors({
|
79 |
-
origin:
|
80 |
methods: ['GET', 'POST', 'PUT', 'DELETE'],
|
81 |
allowedHeaders: ['Content-Type', 'Authorization', 'x-api-key'],
|
82 |
}));
|
|
|
76 |
];
|
77 |
|
78 |
app.use(cors({
|
79 |
+
origin: "*",
|
80 |
methods: ['GET', 'POST', 'PUT', 'DELETE'],
|
81 |
allowedHeaders: ['Content-Type', 'Authorization', 'x-api-key'],
|
82 |
}));
|