diff --git a/handlers.go b/handlers.go index 14af44b..487533f 100644 --- a/handlers.go +++ b/handlers.go @@ -139,11 +139,6 @@ func (app *Application) uploadHandler(w http.ResponseWriter, r *http.Request) { app.parserHandler(w, r) return } - - tmpl := template.Must(template.ParseFiles("templates/upload.html")) - if err := tmpl.Execute(w, app.uploadHandler); err != nil { - slog.Warn(err.Error()) - } } func (app *Application) parserHandler(w http.ResponseWriter, r *http.Request) { diff --git a/static/index.html b/static/index.html index 9c18d16..0239051 100644 --- a/static/index.html +++ b/static/index.html @@ -11,19 +11,20 @@

abyss paste

-
-
- - - - - - -
+
+ + +
+ +
+
+ +
+