From 973eda9ad95114da2b6ec11e467bfd80b7d44907 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 29 Sep 2026 10:46:13 -0700 Subject: [PATCH] Map server default host to plugin default host --- plugin/src/App/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin/src/App/init.lua b/plugin/src/App/init.lua index e3f44aaa..848939e9 100644 --- a/plugin/src/App/init.lua +++ b/plugin/src/App/init.lua @@ -183,6 +183,12 @@ function App:checkForRojoOpen() end local host = instance:GetAttribute("Host") + if host == "127.0.0.1" then + -- The server default is 127.0.0.1 but the plugin's is localhost. + -- Change it to localhost so the address box shows the default value. + host = "localhost" + end + local port = instance:GetAttribute("Port") local sessionId = instance:GetAttribute("SessionId")