Skip to content

Commit

Permalink
fix default query
Browse files Browse the repository at this point in the history
  • Loading branch information
yujonglee committed Jun 5, 2024
1 parent 0aa4b0d commit 9243c38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
onMount(() => {
const urlParams = new URLSearchParams(window.location.search);
query = urlParams.get("q") || "";
query = urlParams.get("q") || "gpt-4";
fetch(
`https://raw.githubusercontent.com/${REPO_FULL_NAME}/main/${RESOURCE_PATH}`,
Expand Down Expand Up @@ -73,7 +73,7 @@
}
};
let query = "gpt-4";
let query = "";
let lines: string[] = [];
let index: Fuse<Item>;
let results: ResultItem[] = [];
Expand Down

0 comments on commit 9243c38

Please sign in to comment.