mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 07:43:11 +03:00
🎨 rename redirects middleware to custom-redirects
no issue - we had two middlewares: 1. url-redirects 2. redirects - this was confusing, so i renamed (2) to custom redirects custom-redirects.js: you can define custom redirects for your blog in a JSON file url-redirects.js: Ghost takes care of required admin url or SSL redirects
This commit is contained in:
parent
c870710fcb
commit
f4f562b6db
@ -21,7 +21,7 @@ var debug = require('debug')('ghost:blog'),
|
||||
serveSharedFile = require('../middleware/serve-shared-file'),
|
||||
staticTheme = require('../middleware/static-theme'),
|
||||
themeHandler = require('../middleware/theme-handler'),
|
||||
customRedirects = require('../middleware/redirects'),
|
||||
customRedirects = require('../middleware/custom-redirects'),
|
||||
serveFavicon = require('../middleware/serve-favicon');
|
||||
|
||||
module.exports = function setupBlogApp() {
|
||||
|
Loading…
Reference in New Issue
Block a user