Ghost/core/server/web/admin
Sam Lord de3a45a805
Fixed theme error handler (#14363)
no issue

Prevents errors from being uploaded to Sentry when a 404 happens in Ghost Admin. At the moment, 404s in Ghost Admin create an ENOENT error in express' static library. Our generic 404 handler at the end will only intercept requests that don't have any errors in the context, so a simple middleware can strip out 404 errors just before we add in our own.

The Ghost-specific error that we attach to requests does not get uploaded to Sentry :)
2022-03-22 15:32:55 +00:00
..
middleware Moved admin redirect middleware to named file 2021-11-25 14:29:17 +00:00
views 🔒 Removed unused and insecure preview endpoint 2021-04-29 12:10:39 +01:00
app.js Fixed theme error handler (#14363) 2022-03-22 15:32:55 +00:00
controller.js Fixed error handling for missing admin templates 2021-11-24 12:30:41 +00:00
index.js Moved apps into web folder (#9308) 2017-12-06 17:37:54 +01:00
middleware.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00