Skip to main content

Module paths

Module paths 

Source
Expand description

Where gled keeps its files. The desktop app uses the user’s directories; the server is given one data directory and keeps everything below it.

Functions§

known_servers_file
The certificate fingerprints of the servers this machine connected to.
set_data_dir
Keeps every file below dir from now on. Call before the services start; later calls are ignored. Returns false if a directory was already set.
tls_dir
The TLS certificate and key of the web server.