diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-26 12:09:46 +0000 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-26 12:09:46 +0000 |
commit | c93fd6e2d455ea4208f9e5ca6bfbd1c0e9fd1ad9 (patch) | |
tree | 8baed2c232b629a98b21006adf440f6f83d5da57 /src/routes.js | |
parent | 363cfbae076f4494ddd5fddcf03de622f6247051 (diff) |
refactor: allow Cypress to override config
Diffstat (limited to 'src/routes.js')
-rwxr-xr-x | src/routes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes.js b/src/routes.js index 8ea7e05..9eedfb5 100755 --- a/src/routes.js +++ b/src/routes.js @@ -1511,7 +1511,7 @@ router.post("/activitypub/inbox", (req, res) => { }); router.use(function (req, res, next) { - return res.status(404).render("404", frontendConfig()); + return res.status(404).render("404", frontendConfig(res)); }); addToLog("startup", "success", "Started up successfully"); |