Skip to content

Commit 401a5ff

Browse files
committed
Mention ?config= parameter for configuration
1 parent 93aa96e commit 401a5ff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ There is a detailled end-user manual available [in German](https://gbv.github.io
7878

7979
## Configuration
8080

81-
For the pre-built version, configuration options can be overridden by using `cocoda.json` in the root of the directory. The default options are given in the file [`config/cocoda.default.json`](https://github.com/gbv/cocoda/blob/dev/config/cocoda.default.json) (please consult this file for examples on how to use the configuration options). When using a manual build, create file `config/cocoda.json` and rebuild (`npm run build`) after editing (you can also run `npm run build -- --config-only` if you already have a build in folder `dist/` and only need to update the config file). The following fields are recognized so far:
81+
For the pre-built version, configuration options can be overridden by using `cocoda.json` in the root of the directory and by passing query parameter `config` with an URL of a config file (CORS headers must be enabled to load if from another domain).
82+
83+
The default options are given in the file [`config/cocoda.default.json`](https://github.com/gbv/cocoda/blob/dev/config/cocoda.default.json) (please consult this file for examples on how to use the configuration options). When using a manual build, create file `config/cocoda.json` and rebuild (`npm run build`) after editing (you can also run `npm run build -- --config-only` if you already have a build in folder `dist/` and only need to update the config file).
84+
85+
The following fields are recognized so far:
8286

8387
* **title**: the main title of the instance as plain string
8488

0 commit comments

Comments
 (0)