Add ionic dev url to cors in development mode
This commit is contained in:
parent
7093a76d17
commit
72e0b07f71
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ async function bootstrap() {
|
|||
} else {
|
||||
logger.log('In development mode');
|
||||
origin.push('http://localhost:4200');
|
||||
origin.push('http://localhost:8100')
|
||||
}
|
||||
app.enableCors({
|
||||
credentials: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue