Update: Allow Origin *

This commit is contained in:
Yûki VACHOT 2021-12-29 17:50:45 +01:00
parent 5ba9036289
commit e8e66fe505

View file

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