Commit 136479fb authored by Ronny Bangsund's avatar Ronny Bangsund

Posting now forwards to the index again.

parent 52122433
...@@ -51,7 +51,7 @@ func get_index(ctx *web.Context, p string) { ...@@ -51,7 +51,7 @@ func get_index(ctx *web.Context, p string) {
} }
func post_scrap(ctx *web.Context) { func post_scrap(ctx *web.Context) {
// ctx.Redirect(303, "/") ctx.Redirect(303, "/")
p := ctx.Params p := ctx.Params
lang := sane(p["language"]) lang := sane(p["language"])
if !validLanguage(lang) { if !validLanguage(lang) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment