0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
Kevin Ansfield 58b9aea00d Added publicAdminApi middleware stack
refs https://github.com/TryGhost/Ghost/issues/11083

- the `/api/v2/admin/site/` endpoint is "public" and as such was not using the `authAdminApi` middleware stack so it did not act like other API endpoints with protocol or trailing-slash redirects
- adds `publicAdminApi` middleware array and uses it for the `/site/` endpoint in both v2 and canary API versions
2019-09-10 15:47:49 +01:00
..
client@a8ea51b3ad Updated Ghost-Admin to 2.31.0 2019-09-09 17:47:56 +01:00
frontend 🔥 Removed V1 code/references in frontend resources/routing layer (#11087) 2019-09-10 11:41:42 +02:00
server Added publicAdminApi middleware stack 2019-09-10 15:47:49 +01:00
test 🔥 Removed V1 code/references in frontend resources/routing layer (#11087) 2019-09-10 11:41:42 +02:00
index.js