Skip to content

Instantly share code, notes, and snippets.

@BitPuffin
Created February 18, 2014 12:05
Show Gist options
  • Save BitPuffin/9069692 to your computer and use it in GitHub Desktop.
Save BitPuffin/9069692 to your computer and use it in GitHub Desktop.
import jester
get "/redirected":
bind TCActionSend, newStringTable
response.data[0] = TCActionSend
response.data[1] = Http303
response.data[2]["Location"] = url
response.data[3] = ""
return
get "/":
redirect("/redirected")
run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment