From a2ab43ab3e32f9a1f537103863a8d92348c4aeca Mon Sep 17 00:00:00 2001 From: Blank <47646799+BlankWheein@users.noreply.github.com> Date: Mon, 24 Oct 2022 12:16:38 +0200 Subject: [PATCH] here --- knox-ui/src/Main_components/FactChecker.js | 4 ++-- knox-ui/src/Main_components/Status.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/knox-ui/src/Main_components/FactChecker.js b/knox-ui/src/Main_components/FactChecker.js index 17965cc..c348ff1 100644 --- a/knox-ui/src/Main_components/FactChecker.js +++ b/knox-ui/src/Main_components/FactChecker.js @@ -88,7 +88,7 @@ const [advancedOptions, setAdvancedOptions] = useState(["DefaultPassageExtractio myHeaders.append('Content-Type', 'application/json; charset=utf-8'); myHeaders.append('Access-Control-Allow-Origin', "*"); myHeaders.append('Access-Control-Allow-Headers', "Content-Type, Accept"); - fetch("http://localhost:4605/Triple/AlgChooser", { + fetch("http://localhost:8080/Triple/AlgChooser", { method: 'POST', headers: myHeaders, mode: 'cors', @@ -121,7 +121,7 @@ const [advancedOptions, setAdvancedOptions] = useState(["DefaultPassageExtractio searchText="Enter potential truth" onClick={onClick} /> - +