deployment stuff
This commit is contained in:
@@ -43,7 +43,7 @@ async fn start_api_server() -> Result<String, String> {
|
||||
cmd.args(&["run", "--release", "--bin", "api_server"]);
|
||||
|
||||
match cmd.spawn() {
|
||||
Ok(_) => Ok("API server started on http://localhost:3000".to_string()),
|
||||
Ok(_) => Ok("API server started on http://localhost:4395".to_string()),
|
||||
Err(e) => Err(format!("Failed to start API server: {}", e)),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user