Mercurial > code > home > repos > homeauto
diff service/collector/sse_collector.py @ 1516:4322e8b1481f
consolidate debug page into ./index.html for now
Ignore-this: 56775a500165c5c707238d99fbdb6739
darcs-hash:ffca0b24595096ba593c64f1609a56acd50e1522
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Tue, 04 Feb 2020 22:41:51 -0800 |
parents | 732e30c509d6 |
children |
line wrap: on
line diff
--- a/service/collector/sse_collector.py Tue Feb 04 17:07:05 2020 -0800 +++ b/service/collector/sse_collector.py Tue Feb 04 22:41:51 2020 -0800 @@ -31,7 +31,7 @@ from patchablegraph.patchsource import ReconnectingPatchSource -from sse_collector_config import config +from collector_config import config #SourceUri = NewType('SourceUri', URIRef) # doesn't work class SourceUri(URIRef): pass @@ -450,8 +450,7 @@ cyclone.web.Application( handlers=[ (r"/()", cyclone.web.StaticFileHandler, { - "path": "static", "default_filename": "index.html"}), - (r'/static/(.*)',cyclone.web.StaticFileHandler, {"path": "static"}), + "path": ".", "default_filename": "index.html"}), (r'/state', State), (r'/graph/', GraphList), (r'/graph/(.+)', PatchSink),