test commit
This commit is contained in:
parent
1433ac2ce7
commit
14b16b3ea9
|
|
@ -33,7 +33,7 @@ const allowedOrigins = ["https://aeroecho.onrender.com"];
|
|||
if (NODE_ENV === "development" || NODE_ENV === "staging") {
|
||||
allowedOrigins.push("http://localhost:3000");
|
||||
}
|
||||
|
||||
//test
|
||||
const corsOptions = {
|
||||
origin: function (origin, callback) {
|
||||
if (!origin || allowedOrigins.indexOf(origin) !== -1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user