Skip to content

Commit 4a2c149

Browse files
authored
Fix katana multiple origins arg (starkware-libs#1937)
1 parent d6c3080 commit 4a2c149

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/katana/src/args.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ pub struct ServerOptions {
131131
pub max_connections: u32,
132132

133133
#[arg(long)]
134-
#[arg(help = "Enables the CORS layer and sets the allowed origins.")]
134+
#[arg(value_delimiter = ',')]
135+
#[arg(help = "Enables the CORS layer and sets the allowed origins, separated by commas.")]
135136
pub allowed_origins: Option<Vec<String>>,
136137
}
137138

0 commit comments

Comments
 (0)