Update: Environment for Heroku Production

This commit is contained in:
Yûki VACHOT 2021-12-23 11:56:40 +01:00
parent 965f1c03e9
commit 7448f6b591

View file

@ -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
}));