Last active
December 30, 2015 07:59
-
-
Save elijahmanor/7800069 to your computer and use it in GitHub Desktop.
Ghost URL Redirect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.get( | |
"/2012/02/test-post.html/", | |
redirectFromBlogger.bind("test-post-item") | |
); | |
function redirectFromBlogger(req, res, next) { | |
return res.redirect(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment