🚑️ host
This commit is contained in:
parent
4a4e66c6ff
commit
74b8c7571d
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
use std::net::Ipv4Addr;
|
||||||
|
|
||||||
use based::asset::AssetRoutes;
|
use based::asset::AssetRoutes;
|
||||||
use based::auth::User;
|
use based::auth::User;
|
||||||
use based::get_pg;
|
use based::get_pg;
|
||||||
|
@ -44,6 +46,8 @@ async fn launch() -> _ {
|
||||||
.limit("json", 1.mebibytes())
|
.limit("json", 1.mebibytes())
|
||||||
.limit("msgpack", 1.mebibytes())
|
.limit("msgpack", 1.mebibytes())
|
||||||
.limit("string", 8.kibibytes()),
|
.limit("string", 8.kibibytes()),
|
||||||
|
address: std::net::IpAddr::V4(Ipv4Addr::new(0, 0, 0, 0)),
|
||||||
|
port: 8000,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
})
|
})
|
||||||
.mount_assets()
|
.mount_assets()
|
||||||
|
|
Loading…
Add table
Reference in a new issue