mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
update
This commit is contained in:
@@ -77,7 +77,7 @@ pub struct Settings {
|
|||||||
/// CORS allowed origins (default: "*")
|
/// CORS allowed origins (default: "*")
|
||||||
#[clap(
|
#[clap(
|
||||||
long,
|
long,
|
||||||
default_value = "http://localhost:5173, http://localhost:15630, http://192.168.3.2:15630, *",
|
default_value = "http://localhost:5173, http://localhost:15630, *",
|
||||||
env,
|
env,
|
||||||
help = "Set the allowed CORS origins (comma-separated list, e.g., \"https://example.com, https://another.com\")",
|
help = "Set the allowed CORS origins (comma-separated list, e.g., \"https://example.com, https://another.com\")",
|
||||||
value_parser = ValueParser::new(|s: &str| -> Result<HashSet<String>, String> {
|
value_parser = ValueParser::new(|s: &str| -> Result<HashSet<String>, String> {
|
||||||
|
|||||||
Reference in New Issue
Block a user