Skip to content

Commit

Permalink
head js
Browse files Browse the repository at this point in the history
  • Loading branch information
olayemii committed Feb 23, 2021
1 parent 59dde07 commit 50ab859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
<!-- This script installs service_worker.js to provide PWA functionality to
application. For more information, see:
https://developers.google.com/web/fundamentals/primers/service-workers -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/headjs/1.0.3/head.min.js" ></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('flutter-first-frame', function () {
navigator.serviceWorker.register('flutter_service_worker.js');
});
}
</script>
<script src="https://raw.githubusercontent.com/headjs/headjs/v0.99/dist/head.min.js" ></script>
<script>
head.js("main.dart.js?version=3", function() {
document.getElementById('loader').remove();
Expand Down

0 comments on commit 50ab859

Please sign in to comment.