localhost removed

This commit is contained in:
sumedh
2024-08-08 19:18:37 +05:30
parent 71dadac7ce
commit e06e348bf9
5 changed files with 11 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ const dropdownItems = [
const sendQuery = async () => {
if (query.value.trim() !== '' && filterQuery) {
try {
const response = await fetch(`http://localhost:8082/test/query_vector?query="${query.value}"&filterQuery=${filterQuery.value}`);
const response = await fetch(`/test/query_vector?query="${query.value}"&filterQuery=${filterQuery.value}`);
const data = await response.json();
console.log('API response:', data);