summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 3264134..e853616 100644
--- a/main.go
+++ b/main.go
@@ -36,7 +36,7 @@ func main() {
c := parseConfig(configPath)
http.HandleFunc("/", index(c.Devices, appdata))
http.HandleFunc("/api", api())
- http.HandleFunc("/webiot.css", css(appdata))
+ http.HandleFunc("/simple.css", css(appdata))
fmt.Printf("Serving at http://%s\n", c.Web.Listen)
log.Fatal(http.ListenAndServe(c.Web.Listen.String(), nil))
}
@@ -90,7 +90,7 @@ func index(devices DevicesConfig, appdata string) func(http.ResponseWriter, *htt
func css(appdata string) func(http.ResponseWriter, *http.Request) {
// read CSS file
- path := filepath.Join(appdata, "webiot.css")
+ path := filepath.Join(appdata, "simple.css")
css := string(mustRead(path))
return func(w http.ResponseWriter, r *http.Request) {