Ghost/core/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.js Moved server/web/site to frontend/web 2021-10-21 19:28:18 +01:00
index.js Moved server/web/site to frontend/web 2021-10-21 19:28:18 +01:00
redirect-ghost-to-admin.js Moved server/web/site to frontend/web 2021-10-21 19:28:18 +01:00
serve-favicon.js Moved server/web/site to frontend/web 2021-10-21 19:28:18 +01:00
serve-public-file.js Ensured nonexistant public files fallback to 404 2021-11-05 09:13:23 +00:00
static-theme.js Moved server/web/site to frontend/web 2021-10-21 19:28:18 +01:00