chore: changes origins to view whitelisted origins in backend (#70)
This commit is contained in:
@@ -37,7 +37,8 @@ async function bootstrap() {
|
||||
console.log('Enabling CORS with production settings');
|
||||
|
||||
app.enableCors({
|
||||
origin: true,
|
||||
origin: process.env.WHITELISTED_ORIGINS.split(','),
|
||||
credentials: true,
|
||||
});
|
||||
}
|
||||
app.enableVersioning({
|
||||
|
||||
Reference in New Issue
Block a user