0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/middleware
Hannah Wolfe d08926c347 Allow maintenance mode to be set in config.js (#7124)
refs #6976, #7019, #7125

- Ensure maintenance mode flag is set back to what is in config.js rather than defaulted to false on boot
- Remove stack trace from 503 errors
- Add error message to 503 error
- Ensure error page is rendered for Ghost-Admin on reload with 503
2016-07-25 21:28:35 +02:00
..
api Version matching middleware 2016-06-09 17:08:44 +01:00
auth-strategies.js
auth.js Subscribers: Model, API & CSV import/export 2016-05-11 10:28:10 +02:00
cache-control.js
check-ssl.js
cors.js Add config URLS to CORS whitelist 2016-04-19 13:39:24 +01:00
decide-is-admin.js
index.js Allow maintenance mode to be set in config.js (#7124) 2016-07-25 21:28:35 +02:00
labs.js Subscribers: Model, API & CSV import/export 2016-05-11 10:28:10 +02:00
maintenance.js Allow maintenance mode to be set in config.js (#7124) 2016-07-25 21:28:35 +02:00
oauth.js
redirect-to-setup.js
serve-shared-file.js
spam-prevention.js
static-theme.js allow manifest.json in theme root (#6986) 2016-06-29 14:44:01 -06:00
theme-handler.js Revert "fix: ensure we initialise activeTheme on bootstrap (#6950)" 2016-07-21 12:26:16 +01:00
uncapitalise.js