Skip to content

Commit

Permalink
Merge pull request #991 from moll0928/development
Browse files Browse the repository at this point in the history
Fix issue 947 by updating the usage of cookie-parser dependency
  • Loading branch information
huss authored Aug 21, 2023
2 parents e6e9162 + d8e9b0a commit 4388f54
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
35 changes: 0 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
"bcryptjs": "~2.4.3",
"body-parser": "~1.20.2",
"bootstrap": "~5.2.3",
"cookie-parser": "~1.4.6",
"csv": "~5.3.2",
"csv-parse": "~4.16.3",
"csv-stringify": "~5.6.5",
Expand Down
2 changes: 0 additions & 2 deletions src/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const rateLimit = require('express-rate-limit');
const path = require('path');
const favicon = require('serve-favicon');
const logger = require('morgan');
const cookieParser = require('cookie-parser');
const bodyParser = require('body-parser');
const config = require('./config');

Expand Down Expand Up @@ -62,7 +61,6 @@ if (log.level !== LogLevel.SILENT) {
app.use(favicon(path.join(__dirname, '..', 'client', 'public', 'favicon.ico')));
app.use(bodyParser.json({ limit: '50mb' }));
app.use(bodyParser.urlencoded({ extended: false, limit: '50mb' }));
app.use(cookieParser());

app.use('/api/users', users);
app.use('/api/meters', meters);
Expand Down

0 comments on commit 4388f54

Please sign in to comment.