Ghost/core/server/web/api/v2/admin
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
..
app.js Added user friendly error messages to Admin API 2019-02-25 10:40:35 +07:00
middleware.js Added publicAdminApi middleware stack 2019-09-10 15:47:49 +01:00
routes.js Added publicAdminApi middleware stack 2019-09-10 15:47:49 +01:00