Disable PWA at local.

This commit is contained in:
Cotes Chung 2020-05-22 20:25:12 +08:00
parent 532e7ad451
commit 6d38f643ae

View file

@ -145,6 +145,8 @@
<script src="{{ site.baseurl }}/assets/js/dist/tooltip-loader.min.js" async></script> <script src="{{ site.baseurl }}/assets/js/dist/tooltip-loader.min.js" async></script>
<!-- PWA --> <!-- PWA -->
{% if jekyll.environment == 'production' %}
<script src="{{ '/app.js' | relative_url }}" defer></script> <script src="{{ '/app.js' | relative_url }}" defer></script>
{% endif %}
</head> </head>