change default registry based on 'beta' feature flag, make 'beta' default for now

This commit is contained in:
Keagan McClelland
2022-01-10 15:03:06 -07:00
committed by Aiden McClelland
parent d3ab3cb46b
commit cc0535ad5b
2 changed files with 5 additions and 1 deletions

View File

@@ -38,7 +38,8 @@ path = "src/bin/embassy-cli.rs"
[features]
avahi = ["avahi-sys"]
default = ["avahi", "sound", "metal"]
beta = []
default = ["avahi", "beta", "sound", "metal"]
metal = []
sound = []
unstable = ["patch-db/unstable"]

View File

@@ -51,7 +51,10 @@ impl Database {
.parse()
.unwrap(),
status: ServerStatus::Running {},
#[cfg(not(feature = "beta"))]
eos_marketplace: "https://registry.start9.com".parse().unwrap(),
#[cfg(feature = "beta")]
eos_marketplace: "https://beta-registry-0-3.start9labs.com".parse().unwrap(),
package_marketplace: None,
wifi: WifiInfo {
ssids: Vec::new(),