Add ionic dev url to cors in development mode

This commit is contained in:
Toast 2025-02-07 23:28:32 +01:00
parent 7093a76d17
commit 72e0b07f71

View file

@ -13,6 +13,7 @@ async function bootstrap() {
} else { } else {
logger.log('In development mode'); logger.log('In development mode');
origin.push('http://localhost:4200'); origin.push('http://localhost:4200');
origin.push('http://localhost:8100')
} }
app.enableCors({ app.enableCors({
credentials: true, credentials: true,