We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6cb57a commit b1e1f7cCopy full SHA for b1e1f7c
flask_react/react_frontend/src/apis/queryIndex.tsx
@@ -12,7 +12,7 @@ export type QueryResponse = {
12
};
13
14
const queryIndex = async (query: string): Promise<QueryResponse> => {
15
- const queryURL = new URL('http://localhost:5601/query?text=1');
+ const queryURL = new URL('http://localhost:5601/query?');
16
queryURL.searchParams.append('text', query);
17
18
const response = await fetch(queryURL, { mode: 'cors' });
0 commit comments