aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/app.html
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-01-02 17:57:40 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-01-02 17:57:40 +0100
commit1cde40b45916d1f99a4cda7837b516cde761f127 (patch)
treee74367db95dd4e9200783c78df2b3d811d834ead /web/pw-server/src/app.html
parent69331eb08a6199bfa8378e08cf378803b076eaae (diff)
downloadplanetwars.dev-1cde40b45916d1f99a4cda7837b516cde761f127.tar.xz
planetwars.dev-1cde40b45916d1f99a4cda7837b516cde761f127.zip
basic match views
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