From 246802239d3a06abb15caa9d4c2cab8694c201c8 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 19 Jul 2024 14:26:29 -0400 Subject: [PATCH] update --- client/src/api.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 {