From 74ac97330f60f7fb64358dc96a0ee68b85f9efdb Mon Sep 17 00:00:00 2001 From: baletiballo <75846481+baletiballo@users.noreply.github.com> Date: Fri, 24 Jan 2025 08:03:47 +0100 Subject: [PATCH] pull the ScrollView from the local Server This server needs to be started manually currently --- Assets/Scripts/UI/InGame/WebViewController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/UI/InGame/WebViewController.cs b/Assets/Scripts/UI/InGame/WebViewController.cs index 5b5a7b12..a5e022eb 100644 --- a/Assets/Scripts/UI/InGame/WebViewController.cs +++ b/Assets/Scripts/UI/InGame/WebViewController.cs @@ -22,7 +22,7 @@ private void Awake() { webViewComponent = GetComponent<WebViewComponent>(); WebViewComponent.serializerSettings.Converters.Add(new FactObjectUIConverter()); - webViewComponent.targetUrl = Path.Join(CommunicationEvents.Get_DataPath(), "../ScrollView_Server/scrollView.html"); + webViewComponent.targetUrl = ("http://localhost:5173/scrollView"); //Path.Join(CommunicationEvents.Get_DataPath(), "../ScrollView_Server/scrollView.html"); webViewComponent.OnWebViewComponentReady += OnWebViewComponentReady; // TODO: handle webViewComponent.onDomDocumentUpdated -- GitLab