Skip to content

Commit b3c0cb0

Browse files
committed
fix(): typos
1 parent 8b16e5b commit b3c0cb0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common/config/env.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
"port": 3600,
33
"appEndpoint": "http://localhost:3600",
4-
"apiEndpoint": "http;//localhost:3600",
4+
"apiEndpoint": "http://localhost:3600",
55
"jwt_secret": "myS33!!creeeT",
66
"jwt_expiration_in_seconds": 36000,
77
"environment": "dev",
@@ -10,4 +10,4 @@ module.exports = {
1010
"PAID_USER": 4,
1111
"ADMIN": 2048
1212
}
13-
};
13+
};

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)