We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03ae31d + 8c0ebf3 commit 0bf5b9eCopy full SHA for 0bf5b9e
web/index.html
@@ -34,7 +34,8 @@
34
application. For more information, see:
35
https://developers.google.com/web/fundamentals/primers/service-workers -->
36
<script>
37
- var serviceWorkerVersion = null;
+ // Use the template token so the version is injected at build time.
38
+ var serviceWorkerVersion = '{{flutter_service_worker_version}}';
39
var scriptLoaded = false;
40
function loadMainDartJs() {
41
if (scriptLoaded) {
0 commit comments