diff service/rfid_pn532_py/rfid.py @ 1218:c571a45c944f

split console web component Ignore-this: 1af5e69fff09e7e5680ffb25e9236fc0 darcs-hash:7acb2532595a2073de5bb224ef708e57b84dc99d
author drewp <drewp@bigasterisk.com>
date Sat, 23 Mar 2019 13:57:44 -0700
parents c21f433ddbac
children f134b64a0ab7
line wrap: on
line diff
--- a/service/rfid_pn532_py/rfid.py	Sat Mar 23 04:38:07 2019 -0700
+++ b/service/rfid_pn532_py/rfid.py	Sat Mar 23 13:57:44 2019 -0700
@@ -190,7 +190,7 @@
 
     port = 10012
     reactor.listenTCP(port, cyclone.web.Application([
-        (r"/()", cyclone.web.StaticFileHandler,
+        (r"/(|.+\.html)", cyclone.web.StaticFileHandler,
          {"path": ".", "default_filename": "index.html"}),
         (r"/graph", CycloneGraphHandler, {'masterGraph': masterGraph}),
         (r"/graph/events", CycloneGraphEventsHandler,