standalone without our server: basemap and DEM load from the CORS-enabled upstreams, same-origin proxy only when a probe proves it exists; drop dead kumi.systems mirror
This commit is contained in:
1 parent
3395ac8f8e
commit
499c00d8b1
3 files changed
+62
-19
No files matched your search
@@ -15,12 +15,11 @@ What gets inlined:
|
||||
(window.__inlineThemeCss, so
|
||||
theme switching works offline)
|
||||
|
||||
The result needs no sibling files. Runtime DATA is still fetched on load:
|
||||
basemap and elevation tiles, Overpass road/settlement cells and the Open-Meteo
|
||||
weather API. Serve the file from the same nginx as the development site (its
|
||||
CORS proxies make the tiles reachable) or open it with a warm IndexedDB cache
|
||||
for fully offline rendering. Opened via file:// it still runs sky, clouds,
|
||||
terrain shading and the whole UI, just without the textured ground.
|
||||
The result needs no sibling files and no server of ours: basemap tiles, the
|
||||
elevation tiles and the Overpass mirrors are all CORS-enabled public sources,
|
||||
so the file runs from any static host or straight from disk (file://). The
|
||||
bundled nginx is optional - it adds the same-origin proxies and a 30-day
|
||||
Overpass cache, which is the gentlest way to hit those upstreams.
|
||||
|
||||
The build fails loudly if any external script or stylesheet reference survives.
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user