Ghost/core/server/web
Kevin Ansfield 02c034068c Fixed error when serving public images from servePublicFile middleware
no issue

- when `servePublicFile` middleware serves an image it resulted in a "Cannot set headers after they are sent to the client" error because `next()` was erroneously called for successful requests which then tripped the `prettyUrls` middleware which tries to perform a redirect
- only calling `next()` when an error is present allows errors to be picked up by later middleware but successful requests end in the `servePublicFile` middleware
2020-02-17 09:24:15 +00:00
..
admin Integrated Sentry error tracking 2020-02-03 13:43:43 +00:00
api Added labels for Members (#11538) 2020-02-14 15:03:10 +05:30
shared Fixed error when serving public images from servePublicFile middleware 2020-02-17 09:24:15 +00:00
site Fixed serving of binary public files 2020-02-10 09:51:32 +00:00
index.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
parent-app.js Integrated Sentry error tracking 2020-02-03 13:43:43 +00:00