We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b16e5b + 8d8fb2f commit 87b4637Copy full SHA for 87b4637
index.js
@@ -10,7 +10,7 @@ const UsersRouter = require('./users/routes.config');
10
app.use(function (req, res, next) {
11
res.header('Access-Control-Allow-Origin', '*');
12
res.header('Access-Control-Allow-Credentials', 'true');
13
- res.header('Access-Control-Allow-Methods', 'GET,HEAD,PUT,PATCH,POST,DEconstE');
+ res.header('Access-Control-Allow-Methods', 'GET,HEAD,PUT,PATCH,POST,DELETE');
14
res.header('Access-Control-Expose-Headers', 'Content-Length');
15
res.header('Access-Control-Allow-Headers', 'Accept, Authorization, Content-Type, X-Requested-With, Range');
16
if (req.method === 'OPTIONS') {
0 commit comments