diff options
| author | Adam Malczewski <[email protected]> | 2026-10-24 19:29:16 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-10-24 19:29:16 +0900 |
| commit | e0fd88e90192b1a07b8fe2f5cfb84309c12c43ea (patch) | |
| tree | 28ff0498edb247f1b8d063212ca23312cbbd9c97 /src/app/resolve-http-url.test.ts | |
| parent | 34526ff48985643bed532b102e8943fa69e77a79 (diff) | |
| download | dispatch-web-e0fd88e90192b1a07b8fe2f5cfb84309c12c43ea.tar.gz dispatch-web-e0fd88e90192b1a07b8fe2f5cfb84309c12c43ea.zip | |
chore: remove private machine and network details from frontend
Diffstat (limited to 'src/app/resolve-http-url.test.ts')
| -rw-r--r-- | src/app/resolve-http-url.test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/resolve-http-url.test.ts b/src/app/resolve-http-url.test.ts index e544255..c556812 100644 --- a/src/app/resolve-http-url.test.ts +++ b/src/app/resolve-http-url.test.ts @@ -19,13 +19,13 @@ describe("resolveHttpUrl", () => { }); it("derives http://<hostname>:24203 from http location", () => { - const result = resolveHttpUrl({}, { protocol: "http:", hostname: "PII_REDACTED_DEV_IPV4_01" }); - expect(result).toBe("http://PII_REDACTED_DEV_IPV4_01:24203"); + const result = resolveHttpUrl({}, { protocol: "http:", hostname: "192.0.2.10" }); + expect(result).toBe("http://192.0.2.10:24203"); }); it("derives https://<hostname>:24203 from https location", () => { - const result = resolveHttpUrl({}, { protocol: "https:", hostname: "PII_REDACTED_DEVICE_01" }); - expect(result).toBe("https://PII_REDACTED_DEVICE_01:24203"); + const result = resolveHttpUrl({}, { protocol: "https:", hostname: "dev-node" }); + expect(result).toBe("https://dev-node:24203"); }); it("uses VITE_HTTP_PORT when set", () => { |
