Skip to content

Commit 8d8fb2f

Browse files
authored
Fix makinhs#3 typo in index.js
1 parent 8b16e5b commit 8d8fb2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const UsersRouter = require('./users/routes.config');
1010
app.use(function (req, res, next) {
1111
res.header('Access-Control-Allow-Origin', '*');
1212
res.header('Access-Control-Allow-Credentials', 'true');
13-
res.header('Access-Control-Allow-Methods', 'GET,HEAD,PUT,PATCH,POST,DEconstE');
13+
res.header('Access-Control-Allow-Methods', 'GET,HEAD,PUT,PATCH,POST,DELETE');
1414
res.header('Access-Control-Expose-Headers', 'Content-Length');
1515
res.header('Access-Control-Allow-Headers', 'Accept, Authorization, Content-Type, X-Requested-With, Range');
1616
if (req.method === 'OPTIONS') {

0 commit comments

Comments
 (0)