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
This commit is contained in:
1 parent
618aad21ec
commit
cce8b83806
1 file changed
+2
-8
+2
-8
@@ -205,14 +205,8 @@ setTimeout(() => {
|
|||||||
ZED_WINDOW_POSITION: position,
|
ZED_WINDOW_POSITION: position,
|
||||||
ZED_STATELESS: isStateful && i == 0 ? "" : "1",
|
ZED_STATELESS: isStateful && i == 0 ? "" : "1",
|
||||||
ZED_ALWAYS_ACTIVE: "1",
|
ZED_ALWAYS_ACTIVE: "1",
|
||||||
ZED_SERVER_URL:
|
ZED_SERVER_URL: "http://localhost:3000",
|
||||||
platform === "win32"
|
ZED_RPC_URL: "http://localhost:8080/rpc",
|
||||||
? "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_ADMIN_API_TOKEN: "internal-api-key-secret",
|
ZED_ADMIN_API_TOKEN: "internal-api-key-secret",
|
||||||
ZED_WINDOW_SIZE: size,
|
ZED_WINDOW_SIZE: size,
|
||||||
ZED_CLIENT_CHECKSUM_SEED: "development-checksum-seed",
|
ZED_CLIENT_CHECKSUM_SEED: "development-checksum-seed",
|
||||||
|
|||||||
Reference in new issue
Block a user