Can generate release builds
This commit is contained in:
@ -12,10 +12,17 @@ pub struct AppConfig {
|
||||
#[clap(short, long, env, default_value = "0.0.0.0:8000")]
|
||||
pub listen_address: String,
|
||||
|
||||
/// Website origin
|
||||
/// Website main origin
|
||||
#[clap(short, long, env, default_value = "http://localhost:3000")]
|
||||
pub website_origin: String,
|
||||
|
||||
/// Additional allowed website origin
|
||||
///
|
||||
/// Warning! These origins won't be usable for OpenID authentication,
|
||||
/// only for local auth
|
||||
#[clap(long, env)]
|
||||
pub additional_origins: Vec<String>,
|
||||
|
||||
/// Proxy IP, might end with a star "*"
|
||||
#[clap(short, long, env)]
|
||||
pub proxy_ip: Option<String>,
|
||||
@ -74,7 +81,7 @@ pub struct AppConfig {
|
||||
oidc_redirect_url: String,
|
||||
|
||||
/// Storage directory
|
||||
#[arg(long, env, default_value = "storage")]
|
||||
#[arg(short, long, env, default_value = "storage")]
|
||||
pub storage: String,
|
||||
|
||||
/// Directory where temporary files are stored
|
||||
|
Reference in New Issue
Block a user