Spanish Total.js
English
Documentation For AI agents
Contents

Configuration file

The keys of the config file in the app folder.

.md GitHub
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.com

Keys in the file

KeyWhat it does
saltA random value that the app generates for itself. Leave it as it is.
$apiThe address of the admin. Keep it as /admin/: the admin works only at this address.
cdnThe content network that serves the styles and scripts of the admin

Keys you can add

KeyExampleWhat it does
$port8000The port of the app
$ip127.0.0.1The network address the app listens on. Use 127.0.0.1 when a reverse proxy runs on the same server.
languageenThe default language of visitors. See Publish one URL in two languages.

For example:

$port                 : 8000
$ip                   : 127.0.0.1
language              : en
Made in Europe