config in ini

This commit is contained in:
2019-08-22 20:54:55 +02:00
parent a454a4aac5
commit 935ad372b0
7 changed files with 52 additions and 27 deletions

View File

@@ -48,7 +48,7 @@ def main_server_loop():
}
}
cherrypy.tree.mount(voltage.EnergyInfo(), "/", conf)
cherrypy.tree.mount(index.landingPage(), "/", conf)
cherrypy.tree.mount(voltage.EnergyInfo(), "/energy", conf)
cherrypy.tree.mount(weather.WeatherInfo(), "/weather", conf)
cherrypy.tree.mount(status.StatusInfo(), "/status", conf)