From c6f8bd29a26af7b94621c358f1a469caad35daf0 Mon Sep 17 00:00:00 2001 From: Adrien Touzouli Date: Mon, 23 Oct 2023 19:46:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20configure=20data=20urls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 48b4421..f286f5a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,8 +20,8 @@ mod wages_param; const PARAMETERS_MEANING: i8 = 10; const DEFAULT_BASE_WAGES: i32 = 700; -const CRITERIAS_URL: &str = "http://localhost:1984/criterias"; -const DATA_URL: &str = "http://localhost:1984/params"; +const CRITERIAS_URL: &str = "https://raw.githubusercontent.com/ad2ien/ideal-wages-calculator/main/criterias.json"; +const DATA_URL: &str = "https://raw.githubusercontent.com/ad2ien/ideal-wages-calculator/main/data.json"; #[function_component] fn App() -> Html {