From 4a2c1491f31431267061f1147b09e41497b783eb Mon Sep 17 00:00:00 2001 From: Yun Date: Mon, 6 May 2024 13:56:24 -1000 Subject: [PATCH] Fix katana multiple origins arg (#1937) --- bin/katana/src/args.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/katana/src/args.rs b/bin/katana/src/args.rs index 6fd9a0b607..3c3c99499c 100644 --- a/bin/katana/src/args.rs +++ b/bin/katana/src/args.rs @@ -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>, }