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 e9e3631 commit 3a21d31Copy full SHA for 3a21d31
2 files changed
Taskfile.yml
@@ -32,6 +32,9 @@ tasks:
32
deps:
33
- yarn
34
- build:backend
35
+ env:
36
+ WCLOUD_ENDPOINT: "https://ot2e112zx5.execute-api.us-west-2.amazonaws.com/dev"
37
+ WCLOUD_WS_ENDPOINT: "wss://5lfzlg5crl.execute-api.us-west-2.amazonaws.com/dev/"
38
39
storybook:
40
desc: Start the Storybook server.
emain/platform.ts
@@ -17,6 +17,7 @@ app.setName("waveterm/electron");
17
18
const isDev = !app.isPackaged;
19
const isDevVite = isDev && process.env.ELECTRON_RENDERER_URL;
20
+console.log(`Running in ${isDev ? "development" : "production"} mode`);
21
if (isDev) {
22
process.env[WaveDevVarName] = "1";
23
}
0 commit comments