Skip to content

Commit

Permalink
Code cleanup, removed unused file (thanks @Pinta365), remove multiple…
Browse files Browse the repository at this point in the history
… unused dependencies, updated dependencies.
  • Loading branch information
Hexagon committed Dec 14, 2021
1 parent 9895868 commit 4b4e899
Show file tree
Hide file tree
Showing 7 changed files with 372 additions and 443 deletions.
4 changes: 1 addition & 3 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const express = require('express');
const bodyParser = require('body-parser');
const cookieSession = require('cookie-session');
const cookieParser = require('cookie-parser');
const path = require('path');
const crypto = require('crypto');

Expand All @@ -20,8 +19,7 @@ app.use(cookieSession({

// Cookie Options
maxAge: 24 * 60 * 60 * 1000 // 24 hours
}))
app.use(cookieParser())
}));

// Static files (./static)
app.use(express.static(path.join(__dirname, 'static')));
Expand Down
Loading

0 comments on commit 4b4e899

Please sign in to comment.