|
2 | 2 | // See https://go.microsoft.com/fwlink/?LinkId=733558 |
3 | 3 | // for the documentation about the tasks.json format |
4 | 4 | "version": "2.0.0", |
5 | | - "options": { |
6 | | - "env": { |
7 | | - "ENVIRONMENT": "PRODUCTION", |
8 | | - "PORT": "50051", |
9 | | - "SERVER_PORT": "50051", |
10 | | - "HOST": "127.0.0.1", |
11 | | - "SERVER_HOST": "127.0.0.1", |
12 | | - } |
13 | | - }, |
14 | 5 | "tasks": [ |
15 | 6 | { |
16 | 7 | "label": "[Protobuf] Refresh", |
|
33 | 24 | "label": "[App] Build Client", |
34 | 25 | "type": "shell", |
35 | 26 | "options": { |
36 | | - "cwd": "${workspaceFolder}/pkg/client" |
| 27 | + "cwd": "${workspaceFolder}/pkg/client", |
| 28 | + "env": { |
| 29 | + "SERVER_HOST": "https://nukeship.passeriform.com", |
| 30 | + "SERVER_PORT": "50051" |
| 31 | + } |
37 | 32 | }, |
38 | 33 | "command": "wails", |
39 | 34 | "args": [ |
|
56 | 51 | "dev" |
57 | 52 | ], |
58 | 53 | "options": { |
59 | | - "cwd": "${workspaceFolder}/pkg/client" |
| 54 | + "cwd": "${workspaceFolder}/pkg/client", |
| 55 | + "env": { |
| 56 | + "SERVER_HOST": "https://nukeship.passeriform.com", |
| 57 | + "SERVER_PORT": "50051" |
| 58 | + } |
60 | 59 | }, |
61 | 60 | "dependsOrder": "sequence", |
62 | 61 | "dependsOn": [ |
|
65 | 64 | "problemMatcher": [], |
66 | 65 | "runOptions": { |
67 | 66 | "instanceLimit": 2 |
68 | | - } |
| 67 | + }, |
69 | 68 | }, |
70 | 69 | { |
71 | 70 | "label": "[Server] [Local] Run Server", |
|
99 | 98 | }, |
100 | 99 | "files": [ |
101 | 100 | "docker-compose.yml" |
102 | | - ], |
103 | | - "envFile": ".env" |
| 101 | + ] |
104 | 102 | }, |
105 | 103 | "options": { |
106 | 104 | "cwd": "${workspaceFolder}" |
|
121 | 119 | "createRoom" |
122 | 120 | ], |
123 | 121 | "options": { |
124 | | - "cwd": "${workspaceFolder}/pkg/client" |
| 122 | + "cwd": "${workspaceFolder}/pkg/client", |
| 123 | + "env": { |
| 124 | + "SERVER_HOST": "https://nukeship.passeriform.com", |
| 125 | + "SERVER_PORT": "50051" |
| 126 | + } |
125 | 127 | } |
126 | 128 | }, |
127 | 129 | { |
|
140 | 142 | "-code=${input:roomCode}" |
141 | 143 | ], |
142 | 144 | "options": { |
143 | | - "cwd": "${workspaceFolder}/pkg/client" |
| 145 | + "cwd": "${workspaceFolder}/pkg/client", |
| 146 | + "env": { |
| 147 | + "SERVER_HOST": "https://nukeship.passeriform.com", |
| 148 | + "SERVER_PORT": "50051" |
| 149 | + } |
144 | 150 | } |
145 | 151 | } |
146 | 152 | ], |
|
0 commit comments