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 {
|
} 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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue