scramjet / static /store.js
soiz1's picture
Upload 150 files
bee6636 verified
raw
history blame contribute delete
484 Bytes
const store = $store(
{
url: "https://google.com",
wispurl:
_CONFIG?.wispurl ||
(location.protocol === "https:" ? "wss" : "ws") +
"://" +
location.host +
"/wisp/",
bareurl:
_CONFIG?.bareurl ||
(location.protocol === "https:" ? "https" : "http") +
"://" +
location.host +
"/bare/",
proxy: "",
transport: "/epoxy/index.mjs",
},
{ ident: "settings", backing: "localstorage", autosave: "auto" }
);
self.store = store;