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