aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/common/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/html/common/layout.html')
-rw-r--r--template/html/common/layout.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/html/common/layout.html b/template/html/common/layout.html
index 5e07794..90df2f9 100644
--- a/template/html/common/layout.html
+++ b/template/html/common/layout.html
@@ -29,7 +29,9 @@
{{ else }}
<link rel="stylesheet" type="text/css" href="{{ route "stylesheet" "name" "default" }}">
{{ end }}
- <script type="text/javascript" src="{{ route "javascript" }}" defer></script>
+
+ <script type="text/javascript" src="{{ route "javascript" "name" "app" }}" defer></script>
+ <script type="text/javascript" src="{{ route "javascript" "name" "sw" }}" defer id="service-worker-script"></script>
</head>
<body data-entries-status-url="{{ route "updateEntriesStatus" }}">
{{ if .user }}