From d20fcb769a3ac0f21ef91f9c66168ac51ebdf0a1 Mon Sep 17 00:00:00 2001 From: Lorenzo Natali Date: Thu, 2 Apr 2026 16:32:47 +0200 Subject: [PATCH 1/2] Remove deprecated localConfig loading from URL --- web/client/components/app/StandardApp.jsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/client/components/app/StandardApp.jsx b/web/client/components/app/StandardApp.jsx index 2af904c21c1..eeef8372d2a 100644 --- a/web/client/components/app/StandardApp.jsx +++ b/web/client/components/app/StandardApp.jsx @@ -114,9 +114,6 @@ class StandardApp extends React.Component { this.init(config); }; - if (urlQuery.localConfig) { - ConfigUtils.setLocalConfigurationFile(urlQuery.localConfig + '.json'); - } ConfigUtils.loadConfiguration().then((config) => { const opts = { ...this.props.storeOpts, From d82356ed455e7bd8d2c7ed856de3a351c42571a4 Mon Sep 17 00:00:00 2001 From: Lorenzo Natali Date: Thu, 2 Apr 2026 16:36:27 +0200 Subject: [PATCH 2/2] Remove deprecated localConfig loading from URL --- docs/developer-guide/local-config.md | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/docs/developer-guide/local-config.md b/docs/developer-guide/local-config.md index 78fad549bbd..c439ce8b8fe 100644 --- a/docs/developer-guide/local-config.md +++ b/docs/developer-guide/local-config.md @@ -1,12 +1,6 @@ # Application configuration -The application will load by default it will load the `localConfig.json` which is now stored in the configs\ folder - -You can load a custom configuration by passing the `localConfig` argument in query string: - -```text -localhost:8081/?localConfig=myConfig#/viewer/openlayers/0 -``` +The application will load by default it will load the `localConfig.json` which is now stored in the `configs` folder The **localConfig** file contains the main information about URLs to load and plugins to load in the various modes. @@ -171,7 +165,7 @@ For configuring plugins, see the [Configuring Plugins Section](plugins-documenta **Configuration options:** - `headers` - Object containing HTTP headers to add to matching requests. Example: - + ```json { "urlPattern": ".*geostore.*", @@ -180,9 +174,9 @@ For configuring plugins, see the [Configuring Plugins Section](plugins-documenta } } ``` - + - `params` - Object containing query parameters to add to matching requests. Example: - + ```json { "urlPattern": "\\/geoserver/.*", @@ -191,18 +185,18 @@ For configuring plugins, see the [Configuring Plugins Section](plugins-documenta } } ``` - + - `withCredentials` - Boolean to enable sending credentials with requests (useful with proxies): - + ```json { "urlPattern": ".*internal-api.*", "withCredentials": true } ``` - + - `expires` - Optional Unix timestamp (in seconds) for automatic rule expiration. Example: - + ```json { "urlPattern": ".*azure-blob.*",