0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/web/shared/middlewares
Kevin Ansfield 7e92b07233 🔒 Added admin:redirects config option for disabling admin redirects
no issue

- adds `config:redirects` config option that defaults to `true`
- when set to `false`
  - `/ghost/` will 404 on the front-end when a separate admin url is configured
  - all `{resource}/edit/` URLs on the front-end will 404
2019-09-12 12:40:12 +01:00
..
api Switched private login brute errors to correct error status code 2019-09-09 16:02:21 +01:00
image
validation
admin-redirects.js 🔒 Added admin:redirects config option for disabling admin redirects 2019-09-12 12:40:12 +01:00
brute.js
cache-control.js
custom-redirects.js
emit-events.js
error-handler.js Added error handling for weird handlebars syntax 2019-09-09 13:03:04 +01:00
ghost-locals.js
index.js 🔥 Removed v0.1 controllers & routes (#11103) 2019-09-11 19:10:10 +02:00
labs.js
log-request.js
maintenance.js
pretty-urls.js
serve-favicon.js
serve-public-file.js 🔥 Removed v0.1 controllers & routes (#11103) 2019-09-11 19:10:10 +02:00
static-theme.js
uncapitalise.js
update-user-last-seen.js
upload.js
url-redirects.js