diff --git a/src/main.rs b/src/main.rs index 2389211..176f2d1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +use std::net::Ipv4Addr; + use based::asset::AssetRoutes; use based::auth::User; use based::get_pg; @@ -44,6 +46,8 @@ async fn launch() -> _ { .limit("json", 1.mebibytes()) .limit("msgpack", 1.mebibytes()) .limit("string", 8.kibibytes()), + address: std::net::IpAddr::V4(Ipv4Addr::new(0, 0, 0, 0)), + port: 8000, ..Default::default() }) .mount_assets()