The config file
The settings in the config file that you may change.
On this page
The file config in the OpenFiles folder holds the start settings, one per line, as key : value. Lines that start with // are comments. Restart OpenFiles after you change it.
The file as it comes:
name : OpenFiles
app : openfiles
icon : ti ti-copy
cdn : https://cdn.componentator.com
$api : /api/
$insecure : true
// database : postgres://user:password@localhost/databaseSettings you may change
| Key | Meaning |
|---|---|
name | The app name in the header and browser tab. A name saved in Settings replaces it. |
database | A PostgreSQL connection that indexes the uploaded files. See Index files in PostgreSQL. |
Leave the other keys as they are: the admin interface depends on them.
The port is not in this file. Pass it on the command line, for example node index.js 8080. See Install from source.