refactor: remove unix socket support fallback
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -96,13 +96,7 @@ async fn run_server(
|
||||
.layer(CorsLayer::permissive())
|
||||
);
|
||||
|
||||
let addr: SocketAddr = if bind_address.starts_with('/') || bind_address.starts_with("./") {
|
||||
// Unix socket - not supported by axum directly, fall back to TCP
|
||||
warn!("Unix sockets not yet implemented, falling back to TCP on 127.0.0.1:21080");
|
||||
"127.0.0.1:21080".parse()?
|
||||
} else {
|
||||
bind_address.parse()?
|
||||
};
|
||||
let addr: SocketAddr = bind_address.parse()?;
|
||||
|
||||
info!("SERVER: HTTP server listening on {}", addr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user