From a7bae9a6ba43cc82fb05fede4acc4e4b03e64372 Mon Sep 17 00:00:00 2001 From: fflorent Date: Thu, 2 May 2024 08:53:34 +0200 Subject: [PATCH] Use nip.io instead of non-standard .localhost tld Quoting Wikipedia: > The name localhost is a **commonly** defined hostname for the loopback > interface in most TCP/IP systems, resolving to the IP addresses > 127.0.0.1 in IPv4 and ::1 for IPv6. --- test/server/lib/helpers/TestServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/server/lib/helpers/TestServer.ts b/test/server/lib/helpers/TestServer.ts index e0a65d86..ae4af2e4 100644 --- a/test/server/lib/helpers/TestServer.ts +++ b/test/server/lib/helpers/TestServer.ts @@ -199,7 +199,7 @@ export class TestServer { // FIXME: found that TestProxyServer exist, what should I do? :'( export class TestServerProxy { - public static readonly HOSTNAME: string = 'grist-test-proxy.localhost'; + public static readonly HOSTNAME: string = 'grist-test-proxy.127.0.0.1.nip.io'; private _stopped: boolean = false; private _app = express();