diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-21 19:32:11 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-21 19:32:11 +0100 |
| commit | 09836fa8a614ee4c0b986c21e370a741ca9ec9d8 (patch) | |
| tree | f8c8250e50ef0e357dee37907c1165183b18decc /index.html | |
| parent | build(treewide): Provide a working `manifest.json` file (diff) | |
| download | web-client-09836fa8a614ee4c0b986c21e370a741ca9ec9d8.zip | |
fix(lib/init): Correctly make the web-app relocatable
`reqwest`, which is doing our API requests for us, requires an absolute and not a relative URL.
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/index.html b/index.html index 3772400..303ca24 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,13 @@ data-weak-refs /> + <div id="location-storage" location="localhost"></div> + <script> + document + .querySelector("div#location-storage") + .setAttribute("location", document.location.href); + </script> + <link data-trunk rel="icon" |
