Skip to content

Commit

Permalink
express v5.0.0-beta3 -> express v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-e committed Sep 11, 2024
1 parent 08b2a91 commit bb46966
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 99 deletions.
2 changes: 1 addition & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ listener.use('/api', app).use('/embed', embedApp);
const baseUrl = 'https://raw.githubusercontent.com';
const onlyStatus200 = (req, res) => res.statusCode === 200;

listener.route('/aria-at/:branch*').get(
listener.route('/aria-at/*branch').get(
cacheMiddleware('7 days', onlyStatus200),
(req, res, next) => {
req.url = path.join('w3c', req.url);
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"cross-spawn": "^7.0.3",
"dotenv": "^16.4.5",
"dotenv-cli": "^7.4.2",
"express": "^5.0.0-beta.3",
"express": "^5.0.0",
"express-handlebars": "^7.1.3",
"express-session": "^1.18.0",
"fs-extra": "^11.2.0",
Expand Down
Loading

0 comments on commit bb46966

Please sign in to comment.