Mercurial > code > home > repos > homeauto
diff service/piNode/piNode.py @ 1356:35090659d414
fix /static path dir
Ignore-this: 464d6e4dfc28f03240fde8cf1f047e41
darcs-hash:a16cad68206967fd7e85e2fe66d07e5cba279b6f
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 25 Apr 2019 23:52:22 -0700 |
parents | f2159312b0e7 |
children | f397ec8bd13d |
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}),