Skip to content

An open-source cross-platform alternative to AirDrop

syntax improvement

Justin Bailey7aefb1c939dd
diff --git a/web/index.html b/web/index.html
index 033866f1..f38c62ea 100644
--- a/web/index.html
+++ b/web/index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
-<head>
- <!--
+ <head>
+ <!--
If you are serving your web app in a path other than the root, change the
href value below to reflect the base path you are serving from.
@@ -14,45 +14,48 @@
This is a placeholder for base href that will be replaced by the value of
the `--base-href` argument provided to `flutter build`.
-->
- <base href="$FLUTTER_BASE_HREF">
-
- <meta charset="UTF-8">
- <meta content="IE=Edge" http-equiv="X-UA-Compatible">
- <meta name="description" content="A new Flutter project.">
-
- <!-- iOS meta tags & icons -->
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <meta name="apple-mobile-web-app-title" content="localsend_app">
- <link rel="apple-touch-icon" href="icons/Icon-192.png">
-
- <!-- Favicon -->
- <link rel="icon" type="image/png" href="favicon.png"/>
-
- <title>localsend_app</title>
- <link rel="manifest" href="manifest.json">
-
- <script>
- // The value below is injected by flutter build, do not touch.
- var 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,
- }
- }).then(function(engineInitializer) {
- return engineInitializer.initializeEngine();
- }).then(function(appRunner) {
- return appRunner.runApp();
+ <base href="$FLUTTER_BASE_HREF" />
+
+ <meta charset="UTF-8" />
+ <meta content="IE=Edge" http-equiv="X-UA-Compatible" />
+ <meta name="description" content="A new Flutter project." />
+
+ <!-- iOS meta tags & icons -->
+ <meta name="apple-mobile-web-app-capable" content="yes" />
+ <meta name="apple-mobile-web-app-status-bar-style" content="black" />
+ <meta name="apple-mobile-web-app-title" content="localsend_app" />
+ <link rel="apple-touch-icon" href="icons/Icon-192.png" />
+
+ <!-- Favicon -->
+ <link rel="icon" type="image/png" href="favicon.png" />
+
+ <title>localsend_app</title>
+ <link rel="manifest" href="manifest.json" />
+
+ <script>
+ // The value below is injected by flutter build, do not touch.
+ var 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,
+ },
+ })
+ .then(function (engineInitializer) {
+ return engineInitializer.initializeEngine();
+ })
+ .then(function (appRunner) {
+ return appRunner.runApp();
+ });
});
- });
- </script>
-</body>
+ </script>
+ </body>
</html>