diff service/tradfri/tradfri.py @ 1169:d9c2b59e760d

include UI files in docker image Ignore-this: eb7ab2dd03796403d442f31c3fb35baa darcs-hash:2878e42247cc0dbb1ed4474f5acd7a1e6c527d02
author drewp <drewp@bigasterisk.com>
date Sat, 22 Sep 2018 23:09:46 -0700
parents fa55bc09b396
children a93fbf0d0daa
line wrap: on
line diff
--- a/service/tradfri/tradfri.py	Sun Sep 09 04:06:59 2018 -0700
+++ b/service/tradfri/tradfri.py	Sat Sep 22 23:09:46 2018 -0700
@@ -177,8 +177,8 @@
     
     reactor.listenTCP(10009, cyclone.web.Application([
         (r"/()", cyclone.web.StaticFileHandler, {
-            "path": "../arduinoNode/static", "default_filename": "index.html"}),
-        (r'/static/(.*)', cyclone.web.StaticFileHandler, {"path": "../arduinoNode/static"}),
+            "path": "/opt/static", "default_filename": "index.html"}),
+        (r'/static/(.*)', cyclone.web.StaticFileHandler, {"path": "/opt/static"}),
         (r'/boards', Boards),
         (r"/graph", CycloneGraphHandler, {'masterGraph': masterGraph}),
         (r"/graph/events", CycloneGraphEventsHandler, {'masterGraph': masterGraph}),