From f6dd3d9ca1c45a36aea086904b42df268b36db50 Mon Sep 17 00:00:00 2001 From: Slavasil Date: Mon, 9 Mar 2026 12:42:17 +0300 Subject: [PATCH] change host to xurl.pw --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index f899a8b..b677096 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,7 @@ mod db; mod linkgen; const DEFAULT_LINK_LENGTH: u32 = 6; -const LINK_PREFIX: &str = "https://slavasil.ru/"; +const LINK_PREFIX: &str = "https://xurl.pw/"; pub struct GlobalState { db_client: Client, @@ -67,12 +67,14 @@ async fn main() { } }); } + rocket::build() .mount("/", routes![create, go_to_link]) .manage(state_mutex.clone()) .configure(config) .launch() - .await.unwrap(); + .await + .unwrap(); } #[get("/create?&&&&")]