TF-3256 Update index.html cache config

This commit is contained in:
DatDang
2024-11-07 16:16:42 +07:00
committed by Dat H. Pham
parent 51a9e9a926
commit fe5cdc770c
6 changed files with 41 additions and 61 deletions
+14 -1
View File
@@ -99,7 +99,20 @@
application. For more information, see:
https://developers.google.com/web/fundamentals/primers/service-workers -->
<script>
loadLanguageResources().finally(initialWorkerService);
{{flutter_js}}
{{flutter_build_config}}
loadLanguageResources().finally(initialTmailApp);
_flutter.loader.load({
serviceWorkerSettings: {
serviceWorkerVersion: {{flutter_service_worker_version}},
},
onEntrypointLoaded: async function(engineInitializer) {
const appRunner = await engineInitializer.initializeEngine();
await appRunner.runApp();
}
});
</script>
<script src="https://unpkg.com/pica/dist/pica.min.js" ></script>
</body>