diff --git a/moira_db.go b/moira_db.go index f792006..d9cf0bd 100644 --- a/moira_db.go +++ b/moira_db.go @@ -255,7 +255,7 @@ func hdlr_film_parseMsg(resp http.ResponseWriter, req *http.Request){ t_json, _ := json.MarshalIndent(t_film, "", " ") fmt.Printf("%+v\n", string(t_json)) - http.Redirect(resp, req, "/film/view/"+string(len(db_film)-1), http.StatusFound) + http.Redirect(resp, req, "/film/view/?id="+string(len(db_film)-1), http.StatusFound) } func main(){