18 lines
305 B
Rust
18 lines
305 B
Rust
use crate::app::App;
|
|
|
|
mod app;
|
|
mod components;
|
|
mod env;
|
|
mod route;
|
|
mod rpc;
|
|
mod views;
|
|
|
|
#[cfg(debug_assertions)]
|
|
pub const RPC_HOST: &'static str = "http://localhost:5177";
|
|
#[cfg(not(debug_assertions))]
|
|
pub const RPC_HOST: &'static str = "https://grpc.aoba.app:8443";
|
|
|
|
fn main() {
|
|
dioxus::launch(App);
|
|
}
|