Mercurial > code > home > repos > homeauto
comparison service/environment/environment.py @ 722:a93fbf0d0daa
dep updates; graph url renames; and other build updates
Ignore-this: 4603ef3d8db650a13e543dad8580ade8
author | drewp@bigasterisk.com |
---|---|
date | Wed, 05 Feb 2020 00:23:06 -0800 |
parents | 6304b0370491 |
children | b87b6e9cedb2 |
comparison
equal
deleted
inserted
replaced
721:4fa5c6a61282 | 722:a93fbf0d0daa |
---|---|
72 def __init__(self): | 72 def __init__(self): |
73 handlers = [ | 73 handlers = [ |
74 (r"/()", | 74 (r"/()", |
75 cyclone.web.StaticFileHandler, | 75 cyclone.web.StaticFileHandler, |
76 {"path": ".", "default_filename": "index.html"}), | 76 {"path": ".", "default_filename": "index.html"}), |
77 (r'/graph', | 77 (r'/graph/environment', |
78 CycloneGraphHandler, {'masterGraph': masterGraph}), | 78 CycloneGraphHandler, {'masterGraph': masterGraph}), |
79 (r'/graph/events', | 79 (r'/graph/environment/events', |
80 CycloneGraphEventsHandler, {'masterGraph': masterGraph}), | 80 CycloneGraphEventsHandlerWithCors, {'masterGraph': masterGraph}), |
81 (r'/doc', Doc), # to be shared | 81 (r'/doc', Doc), # to be shared |
82 (r'/stats/(.*)', StatsHandler, {'serverName': 'environment'}), | 82 (r'/stats/(.*)', StatsHandler, {'serverName': 'environment'}), |
83 ] | 83 ] |
84 cyclone.web.Application.__init__(self, handlers, | 84 cyclone.web.Application.__init__(self, handlers, |
85 masterGraph=masterGraph) | 85 masterGraph=masterGraph) |