diff options
Diffstat (limited to 'src/web_api.py')
-rwxr-xr-x | src/web_api.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web_api.py b/src/web_api.py index 8c039e0..37b9867 100755 --- a/src/web_api.py +++ b/src/web_api.py @@ -39,10 +39,10 @@ class WebAPIServer(http.HTTPServer): self.get('/', self.get_index) self.get('/sensors/data/', self.GET_sensors_data) - self.get('/sound-sensors/hits/', self.GET_sound_sensors_hits) - self.post('/sound-sensors/hits/', self.POST_sound_sensors_hits) + self.get('/sound_sensors/hits/', self.GET_sound_sensors_hits) + self.post('/sound_sensors/hits/', self.POST_sound_sensors_hits) - self.post('/log/bot-request/', self.POST_bot_request_log) + self.post('/log/bot_request/', self.POST_bot_request_log) self.post('/log/openwrt/', self.POST_openwrt_log) self.get('/inverter/consumed_energy/', self.GET_consumed_energy) |