localhost removed
This commit is contained in:
@@ -171,7 +171,7 @@ initFilters();
|
||||
|
||||
const fetchCodeRepoInfo = async () => {
|
||||
try {
|
||||
const response = await axios.get('http://localhost:8082/fe-api/ks_git_repos');
|
||||
const response = await axios.get('/fe-api/ks_git_repos');
|
||||
//codeRepoInfo.value = response.data;
|
||||
codeRepoInfo.value = getCustomDatewithAllResponse(response.data);
|
||||
console.log(codeRepoInfo.value);
|
||||
@@ -192,7 +192,7 @@ const getCustomDatewithAllResponse = (data) => {
|
||||
|
||||
const ingestGitRepo = (repo) => {
|
||||
axios
|
||||
.get(`http://localhost:8082/test/ingest_repo/${repo.repoName}`)
|
||||
.get(`/test/ingest_repo/${repo.repoName}`)
|
||||
.then((response) => {
|
||||
showPopup('Ingestion started', 'info');
|
||||
toast.add({ severity: 'success', summary: 'Ingestion Summary', detail: 'Repository Ingestion Started', life: 3000 });
|
||||
@@ -216,7 +216,7 @@ const startPollingStatus = (repoName) => {
|
||||
|
||||
const checkIngestionStatus = (repoName) => {
|
||||
axios
|
||||
.get(`http://localhost:8082/test/check_ingestion_status/${repoName}`)
|
||||
.get(`/test/check_ingestion_status/${repoName}`)
|
||||
.then((response) => {
|
||||
const data = response.data;
|
||||
if (data.status === 'INGESTED') {
|
||||
|
||||
@@ -90,7 +90,7 @@ const submitForm = async () => {
|
||||
formDataToSend.append('minChunkSizeToEmbed', formData.value.minChunkSizeToEmbed);
|
||||
|
||||
try {
|
||||
const response = await axios.post('http://localhost:8082/fe-api/ks_git_repos/uploadRepo', formDataToSend);
|
||||
const response = await axios.post('/fe-api/ks_git_repos/uploadRepo', formDataToSend);
|
||||
console.log('Submit successful:', response.data);
|
||||
toast.add({ severity: 'success', summary: 'Success', detail: 'Repository submitted successfully', life: 3000 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user