Skip to content

Commit

Permalink
Fix toolSearch.worker resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 18, 2024
1 parent 819b79c commit 40b13c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Panels/Common/ToolSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const ontologyList = computed(() =>
onMounted(() => {
// initialize worker
if (!searchWorker.value) {
searchWorker.value = new Worker(new URL("components/Panels/toolSearch.worker.js", import.meta.url));
searchWorker.value = new Worker(new URL("../toolSearch.worker.js", import.meta.url));
}
searchWorker.value.onmessage = ({ data }) => {
const { type, payload, sectioned, query, closestTerm } = data;
Expand Down

0 comments on commit 40b13c9

Please sign in to comment.