[client] Correct the stale cloud-only note on the UI's upload option

The comment still described the fallback as reached only by a peer enrolled with
NetBird's cloud, which stopped being true when the default became NetBird's
service for every deployment. Left as it was, a maintainer would read it and
assume self-hosted peers keep their bundles local.

Reported by cubic on #7514.
This commit is contained in:
riccardom
2026-09-14 09:18:59 +02:00
parent 2befe96c31
commit 5c665c1399
@@ -70,10 +70,10 @@ type BundleOptions = {
hasWindow: boolean;
totalSec: number;
// Whether to upload at all. The destination is the daemon's to pick: it
// takes the one the management server publishes, and only falls back to the
// service NetBird runs for a peer enrolled with NetBird's cloud. The UI must
// not name a vendor endpoint of its own, or a self-hosted deployment would
// ship its bundles out of the operator's control sphere.
// takes the one the management server publishes, and falls back to the
// service NetBird runs when it publishes none. The UI must not name a vendor
// endpoint of its own, or an operator who configured their own destination
// would be bypassed by the client they ship.
upload: boolean;
anonymizeLevel: AnonymizeLevel;
systemInfo: boolean;