Update: Rollback Origin
This commit is contained in:
parent
e8e66fe505
commit
68e212fce9
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: '*',
|
origin: 'https://admin-polynotfound.herokuapp.com',
|
||||||
credentials: true
|
credentials: true
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue