diff --git a/src/app.js b/src/app.js index 466ad20..25544b0 100644 --- a/src/app.js +++ b/src/app.js @@ -28,7 +28,7 @@ const app = express() // Configure CORS const whitelist = [] if (!process.env.FRONTEND_URLS) console.warn('FRONTEND_URLS not set, allowing all origins') -else whitelist.push(...process.env.FRONTEND_URL.split(',')) +else whitelist.push(...process.env.FRONTEND_URLS.split(',')) app.use( cors({ origin: (origin, callback) => {