0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
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
serve-favicon.test.js
serve-public-file.test.js Ensured nonexistant public files fallback to 404 2021-11-05 09:13:23 +00:00
static-theme.test.js