Skip to content

Instantly share code, notes, and snippets.

@biilmann
Created March 18, 2013 22:30
Show Gist options
  • Select an option

  • Save biilmann/5191439 to your computer and use it in GitHub Desktop.

Select an option

Save biilmann/5191439 to your computer and use it in GitHub Desktop.
Manual redirects
exports.get = {
"Product1": function(params) {
response.send("Redirecting", {Location: "/products/product1"}, 301);
},
"Product2": function(params) {
response.send("Redirecting", {Location: "/products/product2"}, 301);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment