Ghost/core/server
Fabien O'Carroll 97983baed6 🐛 Fixed CORS for errors from Admin API
refs #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 Admin API.
2019-07-22 12:57:41 +08:00
..
adapters Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
api Refactored members service logging and errors (#10919) 2019-07-18 15:37:11 +08:00
config
data Deleted unused pg.js module (#10928) 2019-07-22 12:11:19 +08:00
lib Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
models Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
public Update default 404 page 2019-07-15 14:47:01 +02:00
services Exposed site SEO data through Conent API & {{@site.*}} helper (#10925) 2019-07-19 10:40:47 +02:00
translations
views Update default 404 page 2019-07-15 14:47:01 +02:00
web 🐛 Fixed CORS for errors from Admin API 2019-07-22 12:57:41 +08:00
analytics-events.js
ghost-server.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
index.js
overrides.js
update-check.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00