Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
mminhlequang committed Jan 2, 2024
1 parent 310ab29 commit 613f3e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
window.addEventListener('load', function(ev) {
// Download main.dart.js
_flutter.loader.loadEntrypoint({
entrypointUrl: window.location.origin + "/main.dart.js?v=1.0.5",
entrypointUrl: window.location.origin + "/quizzes_website_flutter/main.dart.js?v=" + serviceWorkerVersion,
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
serviceWorkerUrl: window.location.origin + "/flutter_service_worker.js?v=",
serviceWorkerUrl: window.location.origin + "/quizzes_website_flutter/flutter_service_worker.js?v=",
},
}).then(function(engineInitializer) {
return engineInitializer.initializeEngine();
Expand Down

0 comments on commit 613f3e9

Please sign in to comment.