AppFlowy/rust-lib/flowy-net/src/config.rs
2021-08-23 23:02:42 +08:00

9 lines
251 B
Rust

use lazy_static::lazy_static;
pub const HOST: &'static str = "http://localhost:8000";
lazy_static! {
pub static ref SIGN_UP_URL: String = format!("{}/api/register", HOST);
pub static ref SIGN_IN_URL: String = format!("{}/api/auth", HOST);
}