update picking index.html
This commit is contained in:
@@ -35,25 +35,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="flutter-container"></div>
|
<script type="text/javascript" src="flutter_bootstrap.js" async></script>
|
||||||
<script type="text/javascript">
|
|
||||||
window.addEventListener('load', function (ev) {
|
|
||||||
// Download main.dart.js
|
|
||||||
_flutter.loader.loadEntrypoint({
|
|
||||||
serviceWorker: {
|
|
||||||
serviceWorkerVersion: serviceWorkerVersion,
|
|
||||||
},
|
|
||||||
onEntrypointLoaded: async function (engineInitializer) {
|
|
||||||
const appRunner = await engineInitializer.initializeEngine({
|
|
||||||
hostElement: document.querySelector('#flutter-app-container')
|
|
||||||
});
|
|
||||||
await appRunner.runApp();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user