Some paths fixed

This commit is contained in:
Bahadir Sofuoglu 2022-09-12 17:07:51 +03:00
parent 4add722619
commit 699a2d7398
8 changed files with 20 additions and 10 deletions

View file

@ -1,12 +1,12 @@
export default class NodeService {
getTreeTableNodes() {
return fetch('demo/data/treetablenodes.json').then(res => res.json())
return fetch('/demo/data/treetablenodes.json').then(res => res.json())
.then(d => d.root);
}
getTreeNodes() {
return fetch('demo/data/treenodes.json').then(res => res.json())
return fetch('/demo/data/treenodes.json').then(res => res.json())
.then(d => d.root);
}
}