fix clap error

Signed-off-by: Cameron Wong <cam@camdar.io>
This commit is contained in:
Cameron Wong 2025-02-14 09:37:08 -05:00
parent e401b67c43
commit 47978bf1df
No known key found for this signature in database
GPG key ID: 23D28D2132FA9A91

View file

@ -88,7 +88,7 @@ async fn main() -> anyhow::Result<()> {
.wrap(Logger::default())
.configure(|cfg| server.config(cfg))
});
for listen_address in matches.get_many::<&str>("listen").unwrap() {
for listen_address in matches.get_many::<String>("listen").unwrap() {
log::info!("Serving on {}", listen_address);
http_server = http_server.bind(listen_address)?
}