From a3d2c9f866957085c50009346e9257b30aadfa19 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 12 Oct 2022 04:52:31 -0400 Subject: [PATCH] use direct if possible --- Client/index.html | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/Client/index.html b/Client/index.html index 59f432b..8239394 100644 --- a/Client/index.html +++ b/Client/index.html @@ -102,7 +102,29 @@ } - +
@@ -232,6 +254,11 @@ Alpine.store('data',data['main']) function initialize(url) { Alpine.store("data", {}); + fetchback(url+'/.well-known/interverse',function(data){ + if (data['name']){ + Alpine.store('data',data); + } + }); interverse_data(url.replace("https://",'').replace('http://','').replace('/',''), function (data) { console.log("Initializing interverse...") Alpine.store('data',data);