diff --git a/label.html b/index.html
similarity index 100%
rename from label.html
rename to index.html
diff --git a/main.go b/main.go
index af509f6..05bfcfb 100644
--- a/main.go
+++ b/main.go
@@ -76,6 +76,10 @@ func main() {
createDnhLabelHandler(w, r, ep)
})
+ http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
+ http.ServeFile(w, r, "index.html")
+ })
+
fmt.Println("Server starting on port 8080")
if err := http.ListenAndServe(":8080", nil); err != nil {
panic(err)