Commit 822e468
authored
chore: default --host from 127.0.0.1 to localhost (#22)
Browsers treat 127.0.0.1 and localhost as separate origins for
storage, but for first-run UX localhost is the friendlier and more
familiar default — matches Vite, Next.js dev, etc. — and WebAuthn
(passkeys) explicitly requires the Relying Party ID to be 'localhost'
or a real domain, so this also unlocks the eventual rung-3 climb.
Server-side reachability is unchanged: Node's localhost bind covers
both 127.0.0.1 and ::1 loopback. Existing users with browser data
keyed to the old 127.0.0.1 origin will need to sign in again
(IndexedDB is per-origin).
- options.host default: '127.0.0.1' → 'localhost'
- Banner / auto-open URL / IDP issuer follow automatically via formatUrl
- Help text + README + inline LAN-warning copy updated
- Loopback-check still accepts both names (no behaviour change there)
Bumps jspod to 0.0.24.1 parent cb66dd3 commit 822e468
3 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments