Skip to content

Commit 2ec176c

Browse files
use hostname instead of host for fallback dev config store (#175)
1 parent 429c16f commit 2ec176c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ function getStoreName() {
4141
}
4242

4343
// Other URLs could be repl.co URLs from hosted RoR instances
44-
const { host } = new URL(baseUrl);
44+
const { hostname } = new URL(baseUrl);
4545

46-
return `config-dev-${host}`;
46+
return `config-dev-${hostname}`;
4747
}
4848

4949
function createStore() {

0 commit comments

Comments
 (0)