aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/app.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-server/src/app.html')
-rw-r--r--web/pw-server/src/app.html31
1 files changed, 20 insertions, 11 deletions
diff --git a/web/pw-server/src/app.html b/web/pw-server/src/app.html
index 32f9591..3193582 100644
--- a/web/pw-server/src/app.html
+++ b/web/pw-server/src/app.html
@@ -1,13 +1,22 @@
<!DOCTYPE html>
<html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="description" content="" />
- <link rel="icon" href="/favicon.ico" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- %svelte.head%
- </head>
- <body>
- <div id="svelte">%svelte.body%</div>
- </body>
-</html>
+
+<head>
+ <!-- polyfill global -->
+ <script>
+ const global = globalThis;
+ </script>
+ <!-- end polyfill -->
+
+ <meta charset="utf-8" />
+ <meta name="description" content="" />
+ <link rel="icon" href="/favicon.ico" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ %svelte.head%
+</head>
+
+<body>
+ <div id="svelte">%svelte.body%</div>
+</body>
+
+</html> \ No newline at end of file