diff --git a/html.go b/html.go index 6246df6..1798c6e 100644 --- a/html.go +++ b/html.go @@ -17,6 +17,8 @@ func ServiHTML() { } http.HandleFunc("/tabella", handlerRoot("template/tabella.html")) http.HandleFunc("/", handlerRoot("template/Interfaccia.html")) + fs := http.FileServer(http.Dir("static")) + http.Handle("/static/", http.StripPrefix("/static/", fs)) http.ListenAndServe(":3000", nil) } diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..85c23e9 Binary files /dev/null and b/static/favicon.ico differ diff --git a/hackathon.png b/static/hackathon.png similarity index 100% rename from hackathon.png rename to static/hackathon.png diff --git a/template/Interfaccia.html b/template/Interfaccia.html index 1819401..5868289 100644 --- a/template/Interfaccia.html +++ b/template/Interfaccia.html @@ -1,7 +1,9 @@ - GoBug + Go Bug + +