From 52773af3b38a6f72037764c238fb38c35128c40e Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 11 Oct 2016 21:28:36 -0700 Subject: [PATCH] BUG: One more path error --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 06b1c94..0f13db3 100644 --- a/main.go +++ b/main.go @@ -55,7 +55,7 @@ func uploadHandler(w http.ResponseWriter, r *http.Request) { return nil }) - http.Redirect(w, r, vizpath, 301) + http.Redirect(w, r, filepath.ToSlash(vizpath), 301) } func main() {