diff service/piNode/piNode.py @ 1430:445e24e8c8bb

lib upgrades; fix a static http server path Ignore-this: f48022f37590e8bdb16957c49168d31b darcs-hash:018ffeb640e1ce9307daf4a320fbd0c807e66a07
author drewp <drewp@bigasterisk.com>
date Thu, 08 Aug 2019 16:54:46 -0700
parents 56e07d3f0930
children accbbd521ecd
line wrap: on
line diff
--- a/service/piNode/piNode.py	Thu Aug 08 16:53:31 2019 -0700
+++ b/service/piNode/piNode.py	Thu Aug 08 16:54:46 2019 -0700
@@ -325,7 +325,7 @@
     static = pkg_resources.resource_filename('homeauto_anynode', 'static/')
 
     reactor.listenTCP(9059, cyclone.web.Application([
-        (r"/()", cyclone.web.StaticFileHandler, {
+        (r"/(|output-widgets.html)", cyclone.web.StaticFileHandler, {
             "path": static, "default_filename": "index.html"}),
         (r'/static/(.*)', cyclone.web.StaticFileHandler, {"path": static}),
         (r'/stats/(.*)', StatsHandler, {'serverName': 'piNode'}),