We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f62972 commit 2fff9e3Copy full SHA for 2fff9e3
packages/chrome/src/IsolatedFrame.tsx
@@ -36,7 +36,7 @@ const ISOLATION_ORIGIN = import.meta.env.VITE_ISOLATION_ORIGIN;
36
import LibcurlClient from "@mercuryworkshop/libcurl-transport";
37
38
const cfg = {
39
- wisp: "ws://localhost:1337/",
+ wisp: import.meta.env.VITE_WISP_URL,
40
prefix: "/scramjet/",
41
globals: {
42
wrapfn: "$scramjet$wrap",
packages/chrome/src/vite-env.d.ts
@@ -4,6 +4,7 @@
4
interface ImportMetaEnv {
5
readonly VITE_LOCAL: boolean;
6
readonly VITE_ISOLATION_ORIGIN: string;
7
+ readonly VITE_WISP_URL: string;
8
}
9
10
interface ImportMeta {
0 commit comments