add built in wisp server

This commit is contained in:
Percs 2024-07-19 16:14:43 -05:00
parent 084f2cd789
commit 3ced0defc4
4 changed files with 1611 additions and 3453 deletions

View file

@ -28,7 +28,7 @@ const col = css`
const store = $store(
{
url: "https://google.com",
wispurl: "wss://wisp.mercurywork.shop/",
wispurl: (location.protocol === "https:" ? "wss" : "ws") + "://" + location.host + "/wisp/",
bareurl:
(location.protocol === "https:" ? "https" : "http") +
"://" +