diff service/tradfri/tradfri.py @ 364:8bd4e310d6b0

include UI files in docker image Ignore-this: eb7ab2dd03796403d442f31c3fb35baa
author drewp@bigasterisk.com
date Sat, 22 Sep 2018 23:09:46 -0700
parents 7096dad37074
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}),