0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/frontend/web/middleware
Hannah Wolfe 5090d75d96
Improved theme asset handling - permissible assets
refs: https://github.com/TryGhost/Team/issues/1633

- this makes /assets/ a more permissible folder - it can serve anything _except_ hbs files
- meanwhile the root folder becomes less permissible, and won't serve theme dev files commonly found in the root
2022-05-16 19:54:33 +01:00
..
cors.js Moved cors middleware to own file 2022-04-19 11:19:59 +01:00
error-handler.js Moved routing helpers to rendering service 2022-04-05 20:12:20 +01:00
handle-image-sizes.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
index.js Moved cors middleware to own file 2022-04-19 11:19:59 +01:00
redirect-ghost-to-admin.js
serve-favicon.js
serve-public-file.js Updated servePublicFile to honor v= cache keys 2021-11-23 12:49:53 +00:00
static-theme.js Improved theme asset handling - permissible assets 2022-05-16 19:54:33 +01:00