From fb391a5808af153fa84c61b9ada0f70b51c17af8 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad <600878@stud.hvl.no> Date: Sat, 22 Apr 2023 22:26:15 +0200 Subject: [PATCH] Changed api path --- .env.production | 2 +- src/truth-table.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 6b8fdb3..eda23a5 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ VITE_FETCH_URL=https://api.martials.no/ -VITE_FETCH_PATH=simplify-truths/do/simplify/table/ +VITE_FETCH_PATH=simplify-truths/simplify/table/ VITE_FETCH_FULL=$VITE_FETCH_URL$VITE_FETCH_PATH \ No newline at end of file diff --git a/src/truth-table.tsx b/src/truth-table.tsx index 661467a..84532c6 100644 --- a/src/truth-table.tsx +++ b/src/truth-table.tsx @@ -29,7 +29,7 @@ type Option = { name: string, value: "NONE" | "TRUE" | "FALSE" | "DEFAULT" | "TR const fetchUrls = [ "http://localhost:8080/simplify/table/", - "https://api.martials.no/simplify-truths/do/simplify/table/" + "https://api.martials.no/simplify-truths/simplify/table/" ]; // TODO move some code to new components