Ghost/core/server/web/api/v2/content
Fabien O'Carroll 2cb41dd8cd 🐛 Fixed CORS for errors from Content API
closes #10932

Previously we were only applying the cors middleware to the options
preflight request, which meant that if the request errored, the cors
headers would not be applied, resulting in the client being unable to
read response data. This applies the cors middleware to _all_ requests
to the Content API.
2019-07-22 12:57:41 +08:00
..
app.js Optimised web/ debug logs 2018-10-04 17:43:08 +02:00
middleware.js Added brute protection to content api (#10362) 2019-01-14 14:11:48 +01:00
routes.js 🐛 Fixed CORS for errors from Content API 2019-07-22 12:57:41 +08:00