Ghost/test/unit/frontend/web/middleware
Hannah Wolfe d9bdc444a3
Ensured nonexistant public files fallback to 404
- If we register the serve public file middleware for a file that doesn't exist, this will currently throw an ENOENT error
- Instead, we want to fall back to a standard 404 so that this behaves normally
- This will be useful for the card asset service, where the cards.min.css and cards.min.js files may or may not exist
2021-11-05 09:13:23 +00:00
..
handle-image-sizes.test.js Moved server/web/site to frontend/web 2021-10-21 19:28:18 +01:00
serve-favicon.test.js Moved server/web/site to frontend/web 2021-10-21 19:28:18 +01:00
serve-public-file.test.js Ensured nonexistant public files fallback to 404 2021-11-05 09:13:23 +00:00
static-theme.test.js Moved server/web/site to frontend/web 2021-10-21 19:28:18 +01:00