From ad8a48c3d97767fcd42c33a3fe2bbb564a0b029a 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 {