diff --git a/index.go b/index.go index c59c399858ed48ad99a3fbc53e61f5d62748a989..acf87e8b25914215a9879f29787616ca7264de65 100644 --- a/index.go +++ b/index.go @@ -78,7 +78,7 @@ } if err := repo.Push(&git.PushOptions{}); err != nil { return err } - w.Write([]byte(formContent)) + http.Redirect(w, r, "/", http.StatusSeeOther) return nil default: return errors.New("method not allowed") diff --git a/static/index.tmpl b/static/index.tmpl index 20d058c033c55728ad4353cdb7d1ddf410e61e84..5252efeada0b5ae9de13ce8ff8f588f68bae7bbd 100644 --- a/static/index.tmpl +++ b/static/index.tmpl @@ -11,31 +11,29 @@ -
-
-

Jsonnet

- -
-
-

Policy

-

-      
+
+
+
+

Jsonnet

+ +
+
+

Policy

+

+        
+
-
+ +