mirror of
https://github.com/pithings/unkernel.git
synced 2026-12-02 00:29:31 +08:00
The project's Wisp server accepts only the page's own origins, so a page built and served elsewhere had no network unless every load named a server with ?wisp=. KW_WISP=<url>[,<url>...] sets the default list instead (vite.config.ts defines __KW_WISP__, net.ts makes it DEFAULT_WISP_SERVERS); a relative URL such as /wisp/ is on the page's own origin, over ws: or wss:. ?wisp= still overrides it, the Network option's note says whose server the default is, and without KW_WISP the page is unchanged. Co-authored-by: Pooya Parsa <pooya@pi0.io> Co-authored-by: Swaroop Patil <swarooppatil850@gmail.com>