diff --git a/OpenDreamClient/Interface/Controls/ControlBrowser.cs b/OpenDreamClient/Interface/Controls/ControlBrowser.cs index c49169b0f6..6c0eeb9933 100644 --- a/OpenDreamClient/Interface/Controls/ControlBrowser.cs +++ b/OpenDreamClient/Interface/Controls/ControlBrowser.cs @@ -62,7 +62,7 @@ public override void Output(string value, string? jsFunction) { } public void SetFileSource(ResPath filepath, bool userData) { - _webView.Url = (userData ? "usr://_/" : "res://_/") + filepath; + _webView.Url = (userData ? "usr://127.0.0.1/" : "res://127.0.0.1/") + filepath; // hostname must be the localhost IP for TGUI to work properly } private void BeforeBrowseHandler(IBeforeBrowseContext context) {