diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | main.go | 2 | ||||
l--------- | webiot.css | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -19,6 +19,7 @@ install: all install -Dm 755 build/$(PROGRAM) $(DESTDIR)$(PREFIX)/bin/$(PROGRAM) install -Dm 644 config.json $(DESTDIR)/etc/$(PROGRAM)/config.json install -Dm 644 index.html.tmpl $(DESTDIR)$(PREFIX)/share/$(PROGRAM)/index.html.tmpl + install -Dm 644 libweb/libweb.css $(DESTDIR)$(PREFIX)/share/$(PROGRAM)/webiot.css install -Dm 644 systemd/$(PROGRAM).service $(DESTDIR)$(PREFIX)/lib/systemd/system/$(PROGRAM).service install -Dm 644 systemd/$(PROGRAM).sysusers $(DESTDIR)$(PREFIX)/lib/sysusers.d/$(PROGRAM).conf @@ -87,7 +87,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, "libweb/libweb.css") + path := filepath.Join(appdata, "webiot.css") css := string(mustRead(path)) return func(w http.ResponseWriter, r *http.Request) { diff --git a/webiot.css b/webiot.css new file mode 120000 index 0000000..7efcff2 --- /dev/null +++ b/webiot.css @@ -0,0 +1 @@ +libweb/libweb.css
\ No newline at end of file |