Skip to content

Commit

Permalink
jstree: Change URL to new API location
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Blin <[email protected]>
  • Loading branch information
kblin committed Aug 31, 2023
1 parent 5c8bc4c commit 36bd949
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/JsTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import "jstree/dist/themes/default/throbber.gif";
import { onMounted, ref } from "vue";
const j = ref();
const ASSEMBLY_URL = "/api/assembly";
const emit = defineEmits<{
status: [status: string];
display: [regions: any[]];
Expand Down Expand Up @@ -45,7 +47,7 @@ onMounted(() => {
emit("status", "loading");
$.ajax({
method: "get",
url: `/api/v1.0/assembly/${assembly}`,
url: `${ASSEMBLY_URL}/${assembly}`,
dataType: "json",
contentType: "application/json",
processData: false,
Expand Down

0 comments on commit 36bd949

Please sign in to comment.