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