Mercurial > code > home > repos > homeauto
comparison service/store/store.py @ 1523:0da337780f22
dep updates; graph url renames; and other build updates
Ignore-this: 4603ef3d8db650a13e543dad8580ade8
darcs-hash:0840491cd6a4e4966f47a2abca0ed30ec434022a
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 05 Feb 2020 00:23:06 -0800 |
parents | c3efea9917f4 |
children |
comparison
equal
deleted
inserted
replaced
1522:040e12a696a9 | 1523:0da337780f22 |
---|---|
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"/store", CycloneGraphHandler, {'masterGraph': masterGraph}), | 78 (r"/graph/store", CycloneGraphHandler, {'masterGraph': masterGraph}), |
79 (r"/store/events", CycloneGraphEventsHandler, | 79 (r"/graph/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) |