mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Remove useless regex for redirecting /ghost -> /ghost/
This commit is contained in:
parent
f273e17e08
commit
cb6d0d8dfe
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module.exports = function (server) {
|
|||
/*jslint unparam:true*/
|
||||
res.redirect(subdir + '/ghost/');
|
||||
});
|
||||
server.get(/\/(ghost$\/?)/, function (req, res) {
|
||||
server.get(/\/ghost$/, function (req, res) {
|
||||
/*jslint unparam:true*/
|
||||
res.redirect(subdir + '/ghost/');
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue