mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
97983baed6
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. |
||
---|---|---|
.. | ||
v0.1 | ||
v2 | ||
index.js |