🚑️ host

This commit is contained in:
JMARyA 2025-03-12 04:52:59 +01:00
parent 4a4e66c6ff
commit 74b8c7571d
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

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