Tweaking nginx and env vars

This commit is contained in:
2025-04-12 23:47:47 -04:00
parent 99f23cb05b
commit 67334d5dd0
6 changed files with 11 additions and 16 deletions

View File

@@ -70,7 +70,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.expect("Failed to create reqwest client");
let state = AppState { client };
let host = env::var("API_HOST").unwrap_or("localhost".to_string());
let host = "0.0.0.0";
let port = env::var("API_PORT").unwrap_or("5000".to_string());
let server = match HttpServer::new(move || {