update from production
This commit is contained in:
@@ -43,8 +43,8 @@ app.use(mongoSanitize());
|
||||
app.use(compression());
|
||||
|
||||
// enable cors
|
||||
app.use(cors());
|
||||
app.options('*', cors());
|
||||
// app.use(cors());
|
||||
// app.options('*', cors());
|
||||
|
||||
//# Need to implement
|
||||
// const allowedOrigins = process.env.CORS_ALLOWED_ORIGINS.split(',');
|
||||
|
||||
Reference in New Issue
Block a user