Skip to content

Commit

Permalink
Fix katana multiple origins arg (starkware-libs#1937)
Browse files Browse the repository at this point in the history
  • Loading branch information
broody authored May 6, 2024
1 parent d6c3080 commit 4a2c149
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/katana/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ pub struct ServerOptions {
pub max_connections: u32,

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

Expand Down

0 comments on commit 4a2c149

Please sign in to comment.