Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@elijahmanor
Last active December 30, 2015 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elijahmanor/7800069 to your computer and use it in GitHub Desktop.
Save elijahmanor/7800069 to your computer and use it in GitHub Desktop.
Ghost URL Redirect
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