From 783ba389f7f6d08bc9b4596b4da3fb3a6b4d1c47 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Thu, 25 Sep 2025 09:03:27 -0400 Subject: [PATCH] Fix script/zed-local on Windows (#38832) There's a mismatch between the URL used here and the one that's referred to in `build_zed_cloud_url`, which prevents using the script on Windows. A previous PR changed the script to use `127.0.0.1` instead of `localhost` because of supposed URL parsing issues, but we were unable to reproduce those. Release Notes: - N/A --- script/zed-local | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/script/zed-local b/script/zed-local index 99d93082326af5f5af159a28276beb45b381e735..d07eb21cbac248a00037d5efa5c36118f2996b7a 100755 --- a/script/zed-local +++ b/script/zed-local @@ -205,14 +205,8 @@ setTimeout(() => { ZED_WINDOW_POSITION: position, ZED_STATELESS: isStateful && i == 0 ? "" : "1", ZED_ALWAYS_ACTIVE: "1", - ZED_SERVER_URL: - platform === "win32" - ? "http://127.0.0.1:3000" - : "http://localhost:3000", - ZED_RPC_URL: - platform === "win32" - ? "http://127.0.0.1:8080/rpc" - : "http://localhost:8080/rpc", + ZED_SERVER_URL: "http://localhost:3000", + ZED_RPC_URL: "http://localhost:8080/rpc", ZED_ADMIN_API_TOKEN: "internal-api-key-secret", ZED_WINDOW_SIZE: size, ZED_CLIENT_CHECKSUM_SEED: "development-checksum-seed",