rpc changes

This commit is contained in:
2025-05-04 11:29:32 -04:00
parent d0cc8be566
commit 04d18c48b9
3 changed files with 28 additions and 6 deletions

View File

@@ -10,6 +10,11 @@ use contexts::AuthContext;
use dioxus::prelude::*;
use route::Route;
#[cfg(debug_assertions)]
pub const HOST: &'static str = "http://localhost:5164";
#[cfg(not(debug_assertions))]
pub const HOST: &'static str = "https://aoba.app";
const FAVICON: Asset = asset!("/assets/favicon.ico");
const MAIN_CSS: Asset = asset!("/assets/style/main.scss");