html fixes

main
Lachfrosch 2024-06-19 16:52:54 +02:00
parent 412bb1a18c
commit 9d7cf30061
1 changed files with 28 additions and 44 deletions

View File

@ -32,28 +32,12 @@
<title>bubbletwist</title>
<link rel="manifest" href="manifest.json">
<script>
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = null;
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
</head>
<body>
<script>
window.addEventListener('load', function(ev) {
// Download main.dart.js
_flutter.loader.loadEntrypoint({
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
},
onEntrypointLoaded: function(engineInitializer) {
engineInitializer.initializeEngine().then(function(appRunner) {
appRunner.runApp();
});
}
});
});
</script>
<body>
<script src="flutter_bootstrap.js" async></script>
</body>
</body>
</html>