fly.io stuff
This commit is contained in:
parent
e72779c338
commit
ae75a24129
4 changed files with 68 additions and 1 deletions
|
@ -76,7 +76,7 @@ async fn main() -> std::io::Result<()> {
|
|||
let port = std::env::var("PORT").unwrap_or("8000".to_string());
|
||||
let port: u16 = port.parse().unwrap_or(8000);
|
||||
|
||||
let bind_addr = format!("0.0.0.0:{}", port);
|
||||
let bind_addr = format!("[::]:{}", port);
|
||||
println!("Listening on {bind_addr}");
|
||||
|
||||
let client = web::Data::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue