Commit 24c3ea5
bourgeoa
fix(auth): avoid SharedWorker startup on localhost dev http
Skip WebSession worker initialization for localhost/127.0.0.1 over http and use SessionCore with IndexedDB directly.
This prevents browser SecurityError noise from file:// worker resolution in local dev while keeping normal session behavior in other environments.1 parent 5935525 commit 24c3ea5
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
151 | 159 | | |
152 | 160 | | |
153 | 161 | | |
| |||
0 commit comments