mentorenwahl/frontend/src/graphql/mod.rs
Dominic Grimm ff2b884d42
All checks were successful
continuous-integration/drone/push Build is passing
Agent oriented logged in state
2022-11-05 21:27:49 +01:00

15 lines
314 B
Rust

use lazy_static::lazy_static;
use std::path::Path;
pub mod mutations;
pub mod queries;
lazy_static! {
pub static ref URL: String =
Path::new(&web_sys::window().unwrap().location().origin().unwrap())
.join("graphql")
.to_str()
.unwrap()
.to_string();
}