Sharing: the default server is a build-time setting

FIGCRAFT_DEFAULT_SERVER, set when compiling, names another server or, set to nothing, ships a
build with no default: online sharing then stays off until the user enters a server in
Preferences. Normal builds and the release workflow are unchanged.
This commit is contained in:
bflatastic
2026-10-13 03:01:34 +07:00
committed by BFlat
parent 511213e820
commit 794b83a0db
5 changed files with 33 additions and 4 deletions
+2 -1
View File
@@ -728,7 +728,8 @@ sudo systemctl start figcraft-server
the server; on the server they are stored unencrypted, so the operator and anyone who can read
the data directory can read every file. Tell the people who publish to your server so (the
README's [Privacy and online sharing](../README.md#privacy-and-online-sharing) says it for the
default public server, whose terms are [online-sharing-terms.md](online-sharing-terms.md): a
default public server, which a build can replace or leave out with `FIGCRAFT_DEFAULT_SERVER`
([releasing](releasing.md#the-default-server)), and whose terms are [online-sharing-terms.md](online-sharing-terms.md): a
starting point for your own), and set `operator_contact` and `terms_url` on a public one.
- **Access** is a share link (128-bit random token) per file and access level, an owner token
(128-bit) per file published without the key, or the server key (128-bit) for managing files.