Configuration file
The keys of the config file in the app folder.
On this page
The config file in the app folder holds the settings that apply when the app starts. Restart the app after you change it.
salt (generate) : 10
$api : /admin/
cdn : //cdn.componentator.comKeys in the file
| Key | What it does |
|---|---|
salt | A random value that the app generates for itself. Leave it as it is. |
$api | The address of the admin. Keep it as /admin/: the admin works only at this address. |
cdn | The content network that serves the styles and scripts of the admin |
Keys you can add
| Key | Example | What it does |
|---|---|---|
$port | 8000 | The port of the app |
$ip | 127.0.0.1 | The network address the app listens on. Use 127.0.0.1 when a reverse proxy runs on the same server. |
language | en | The default language of visitors. See Publish one URL in two languages. |
For example:
$port : 8000
$ip : 127.0.0.1
language : en