Update: Environment for Heroku Production
This commit is contained in:
parent
965f1c03e9
commit
7448f6b591
1 changed files with 4 additions and 1 deletions
|
|
@ -12,7 +12,10 @@ app.use(bodyParser.json());
|
|||
|
||||
const cors = require('cors');
|
||||
app.use(cors({
|
||||
origin: true,
|
||||
origin: [
|
||||
'http://127.0.0.1:4200',
|
||||
'http://127.0.0.1:4201',
|
||||
],
|
||||
credentials: true
|
||||
}));
|
||||
|
||||
|
|
|
|||
Reference in a new issue