mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
134c33cef5
fixes https://linear.app/tryghost/issue/ENG-746/http-500-responses-when-handle-image-sizes-middleware-hits-missing - in the event a request comes in for a resized image, but the source image does not exist, we return a rendered 404 page - we do this because we pass the NotFoundError to `next`, which skips over the static asset code where we return a plaintext 404 - also included a breaking test that ensure we go to the next middleware without an error |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-browser | ||
e2e-frontend | ||
e2e-server | ||
e2e-webhooks | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js |