From 71a5c90481b43cb9fdb58822e5aa3d0d1e789677 Mon Sep 17 00:00:00 2001 From: Szymon Kaliski Date: Tue, 25 Mar 2025 17:15:04 +0100 Subject: [PATCH] use hostname instead of host for fallback dev config store --- src/store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store.ts b/src/store.ts index b90a550..926fdf3 100644 --- a/src/store.ts +++ b/src/store.ts @@ -41,9 +41,9 @@ function getStoreName() { } // Other URLs could be repl.co URLs from hosted RoR instances - const { host } = new URL(baseUrl); + const { hostname } = new URL(baseUrl); - return `config-dev-${host}`; + return `config-dev-${hostname}`; } function createStore() {