diff --git a/client/src/api.rs b/client/src/api.rs index 8630266..ad267d1 100644 --- a/client/src/api.rs +++ b/client/src/api.rs @@ -1,11 +1,10 @@ -use std::borrow::{Borrow, BorrowMut}; +use std::borrow::BorrowMut; use gloo::console::log; use gloo_net::http::{Headers, Method, RequestBuilder, Response}; use wasm_bindgen::JsValue; -// const URL: &str = include_str!("api_url.txt"); -const URL: &str = "https://andrewtest.org/api/"; +const URL: &str = include_str!("api_url.txt"); #[derive(Clone, PartialEq)] pub enum Api {