Update: Change Cors Origin Admin
This commit is contained in:
parent
086d54a84b
commit
5ba9036289
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ const port = process.env.PORT || 3000;
|
||||||
|
|
||||||
const cors = require('cors');
|
const cors = require('cors');
|
||||||
app.use(cors({
|
app.use(cors({
|
||||||
origin: false,
|
origin: 'https://admin-polynotfound.herokuapp.com',
|
||||||
credentials: true
|
credentials: true
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue