Skip to content

Commit 6d38f64

Browse files
committed
Disable PWA at local.
1 parent 532e7ad commit 6d38f64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_includes/head.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@
145145
<script src="{{ site.baseurl }}/assets/js/dist/tooltip-loader.min.js" async></script>
146146

147147
<!-- PWA -->
148-
<script src="{{ '/app.js' | relative_url }}" defer></script>
148+
{% if jekyll.environment == 'production' %}
149+
<script src="{{ '/app.js' | relative_url }}" defer></script>
150+
{% endif %}
149151

150152
</head>

0 commit comments

Comments
 (0)