Add docstrings
This commit is contained in:
1 parent
9e41c495fc
commit
48593c6a68
2 files changed
+9
-3
No files matched your search
@@ -79,6 +79,7 @@ def _handle_get_root(handler, path_match, data):
|
||||
|
||||
|
||||
def _handle_get_service_worker(handler, path_match, data):
|
||||
""" Returns service worker for the frontend. """
|
||||
if handler.server.development:
|
||||
sw_path = "home-assistant-polymer/build/service_worker.js"
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user