changeset 553:36e4304762ae

fix /static path dir Ignore-this: 464d6e4dfc28f03240fde8cf1f047e41
author drewp@bigasterisk.com
date Thu, 25 Apr 2019 23:52:22 -0700
parents 98384c3ccd33
children 2c4e8ef57f08
files service/piNode/piNode.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/service/piNode/piNode.py	Thu Apr 25 23:38:47 2019 -0700
+++ b/service/piNode/piNode.py	Thu Apr 25 23:52:22 2019 -0700
@@ -324,7 +324,7 @@
     reactor.listenTCP(9059, cyclone.web.Application([
         (r"/()", cyclone.web.StaticFileHandler, {
             "path": static, "default_filename": "index.html"}),
-        (r'/static/(.*)', cyclone.web.StaticFileHandler, {"path": "static"}),
+        (r'/static/(.*)', cyclone.web.StaticFileHandler, {"path": static}),
         (r'/stats/(.*)', StatsHandler, {'serverName': 'piNode'}),
         (r'/boards', Boards),
         (r"/graph", CycloneGraphHandler, {'masterGraph': masterGraph}),