Changed api path

This commit is contained in:
Martin Berg Alstad 2023-04-22 22:26:15 +02:00
parent f8ff336ec3
commit fb391a5808
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
VITE_FETCH_URL=https://api.martials.no/ 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 VITE_FETCH_FULL=$VITE_FETCH_URL$VITE_FETCH_PATH

View File

@ -29,7 +29,7 @@ type Option = { name: string, value: "NONE" | "TRUE" | "FALSE" | "DEFAULT" | "TR
const fetchUrls = [ const fetchUrls = [
"http://localhost:8080/simplify/table/", "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 // TODO move some code to new components