aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/App.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue
index 62326e7..66ed577 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -189,7 +189,7 @@ export default defineComponent({
// Check if data for node-to-expand exists, getting from server if needed
let tolNode = this.tolMap.get(layoutNode.name)!;
if (!this.tolMap.has(tolNode.children[0])){
- return fetch('/data/children?name=' + encodeURIComponent(layoutNode.name))
+ return fetch('/data/node?name=' + encodeURIComponent(layoutNode.name))
.then(response => response.json())
.then(obj => {
Object.getOwnPropertyNames(obj).forEach(key => {this.tolMap.set(key, obj[key])});