Mercurial > code > home > repos > homeauto
comparison service/store/store.py @ 1454:c3efea9917f4
graph path now has 'store' in it
Ignore-this: f20acfa66fa56e5b4e076e76cad140f6
darcs-hash:01a6fa048f8d946b52dbcd7102f236d8ccf01898
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 25 Sep 2019 17:29:47 -0700 |
parents | ea942d383f62 |
children | a93fbf0d0daa |
comparison
equal
deleted
inserted
replaced
1453:ea942d383f62 | 1454:c3efea9917f4 |
---|---|
73 | 73 |
74 port = 10015 | 74 port = 10015 |
75 reactor.listenTCP(port, cyclone.web.Application([ | 75 reactor.listenTCP(port, cyclone.web.Application([ |
76 (r"/()", cyclone.web.StaticFileHandler, | 76 (r"/()", cyclone.web.StaticFileHandler, |
77 {"path": ".", "default_filename": "index.html"}), | 77 {"path": ".", "default_filename": "index.html"}), |
78 (r"/graph", CycloneGraphHandler, {'masterGraph': masterGraph}), | 78 (r"/store", CycloneGraphHandler, {'masterGraph': masterGraph}), |
79 (r"/graph/events", CycloneGraphEventsHandler, | 79 (r"/store/events", CycloneGraphEventsHandler, |
80 {'masterGraph': masterGraph}), | 80 {'masterGraph': masterGraph}), |
81 (r'/values', ValuesResource), | 81 (r'/values', ValuesResource), |
82 ], masterGraph=masterGraph, dbFile=dbFile, debug=arg['-v']), | 82 ], masterGraph=masterGraph, dbFile=dbFile, debug=arg['-v']), |
83 interface='::') | 83 interface='::') |
84 log.warn('serving on %s', port) | 84 log.warn('serving on %s', port) |