fly.io stuff

This commit is contained in:
uh wot 2022-08-16 17:59:09 +02:00
parent e72779c338
commit ae75a24129
Signed by: uhwot
GPG key ID: CB2454984587B781
4 changed files with 68 additions and 1 deletions

View file

@ -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(