Skip to content

Commit

Permalink
here
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankWheein committed Oct 24, 2022
1 parent bd09ee7 commit a2ab43a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions knox-ui/src/Main_components/FactChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -121,7 +121,7 @@ const [advancedOptions, setAdvancedOptions] = useState(["DefaultPassageExtractio
searchText="Enter potential truth"
onClick={onClick}
/>
<DatabaseStatus port="4605" apiName="Triple/HealthCheck" dbName="FacterChecker HealthCheck"/>
<DatabaseStatus port="8080" apiName="Triple/HealthCheck/v1" dbName="FacterChecker HealthCheck"/>
<Button data-testid="advancedButton"
onClick={() => setOpen(!open)}
aria-controls="example-collapse-text"
Expand Down
2 changes: 1 addition & 1 deletion knox-ui/src/Main_components/Status.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ const Status = props => {
{/* Section for Database statistics */}
<div data-testid="databaseDiv" className="GroupSpecificlDiv">
<h3>FactChecker status</h3>
<DatabaseStatus port="4605" apiName="Triple/HealthCheck" dbName="Triple"/>
<DatabaseStatus port="8080" apiName="Triple/HealthCheck/v1" dbName="Triple"/>
<h3>WordCount database status</h3>
<DatabaseStatus port="8000" apiName="wordCountStatus" dbName="WordCount"/>
<DatabaseStatus port="8000" apiName="rdfStatus" dbName="RDF"/>
Expand Down

0 comments on commit a2ab43a

Please sign in to comment.