Fix problem with options / hostname (#554)

This commit is contained in:
Pascal Vizeli
2018-07-05 13:01:48 +02:00
committed by GitHub
parent 78118a502c
commit 63d3889d5c

View File

@@ -58,6 +58,7 @@ class RestAPI(CoreSysAttributes):
web.post('/host/reboot', api_host.reboot),
web.post('/host/shutdown', api_host.shutdown),
web.post('/host/reload', api_host.reload),
web.post('/host/options', api_host.options),
web.get('/host/services', api_host.services),
web.post('/host/services/{service}/stop', api_host.service_stop),
web.post('/host/services/{service}/start', api_host.service_start),