Skip to content

Commit

Permalink
Revert "Move from express v5-beta to express v5 (#1210)"
Browse files Browse the repository at this point in the history
This reverts commit 558f973.
  • Loading branch information
howard-e committed Sep 11, 2024
1 parent 558f973 commit 08b2a91
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 184 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",
"express": "^5.0.0-beta.3",
"express-handlebars": "^7.1.3",
"express-session": "^1.18.0",
"fs-extra": "^11.2.0",
Expand Down
Loading

0 comments on commit 08b2a91

Please sign in to comment.