basePath wird jetzt in config.json gepflegt statt als NEXT_PUBLIC_BASE_PATH in .env.* Alle relevanten Code-Stellen lesen basePath dynamisch aus config.json Dokumentation und Beispiele in Markdown-Dateien entsprechend angepasst Erhöhte Flexibilität für Deployments ohne Rebuild
10 lines
276 B
JSON
10 lines
276 B
JSON
{
|
|
"//info": "tileSources: 'local' für offline, 'osm' für online",
|
|
"tileSources": {
|
|
"local": "http://localhost/talas5/TileMap/mapTiles/{z}/{x}/{y}.png",
|
|
"osm": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
|
},
|
|
"active": "osm",
|
|
"basePath": "/talas5"
|
|
}
|