diff --git a/go-web-app/gowiki/cmd/gowiki/main.go b/go-web-app/gowiki/cmd/gowiki/main.go index 62c933f..b70d2d4 100644 --- a/go-web-app/gowiki/cmd/gowiki/main.go +++ b/go-web-app/gowiki/cmd/gowiki/main.go @@ -156,7 +156,7 @@ func saveHandler(w http.ResponseWriter, r *http.Request, title string) { } func frontPageHandler(w http.ResponseWriter, r *http.Request) { - http.Redirect(w, r, filepath.Join("/view", "FrontPage"), http.StatusFound) + http.Redirect(w, r, "/viewFrontPage", http.StatusFound) } func main() {