From 613f3e9de4c33cbb459b6ae23e7675e7b193a85e Mon Sep 17 00:00:00 2001 From: Minh Minh Date: Tue, 2 Jan 2024 15:04:25 +0700 Subject: [PATCH] - --- web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/index.html b/web/index.html index 270b9b9..488808e 100644 --- a/web/index.html +++ b/web/index.html @@ -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();