From 345c96f99aa98d5e90a46fa3f175ec0a2e6d4f36 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Sat, 9 Jul 2022 11:49:39 +1000
Subject: Fix links-to-node failing on load

Was setting SERVER_URL incorrectly
Also changed server API to include 'excl' param
---
 src/App.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index 77de7ca..784b15d 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -865,7 +865,7 @@ export default defineComponent({
 			let urlParams = new URLSearchParams({type: 'node', tree: this.uiOpts.tree});
 			if (nodeName != null){
 				urlParams.append('name', nodeName);
-				urlParams.append('toroot', this.activeRoot.name);
+				urlParams.append('toroot', '1');
 			}
 			let responseObj: {[x: string]: TolNode} = await this.loadFromServer(urlParams);
 			if (responseObj == null){
-- 
cgit v1.2.3

