File tree 1 file changed +10
-16
lines changed
1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ resource "coder_app" "code-server" {
120
120
display_name = "code-server"
121
121
url = "http://localhost:13337/?folder=/home/coder"
122
122
icon = "/icon/code.svg"
123
- subdomain = true
123
+ subdomain = false
124
124
125
125
healthcheck {
126
126
url = "http://localhost:13337/healthz"
@@ -159,21 +159,15 @@ resource "coder_agent" "main" {
159
159
You also need to add a ` coder_app ` resource for this.
160
160
161
161
``` hcl
162
- # VS Code Server
163
- resource "coder_app" "vscode-server" {
164
- agent_id = coder_agent.coder.id
165
- slug = "vscode-server"
166
- display_name = "VS Code Server"
167
- icon = "/icon/code.svg"
168
- url = "http://localhost:13338?folder=/home/coder"
169
- subdomain = false
170
- share = "owner"
171
-
172
- healthcheck {
173
- url = "http://localhost:13338/healthz"
174
- interval = 3
175
- threshold = 10
176
- }
162
+ # VS Code Web
163
+ resource "coder_app" "vscode-web" {
164
+ agent_id = coder_agent.coder.id
165
+ slug = "vscode-web"
166
+ display_name = "VS Code Web"
167
+ icon = "/icon/code.svg"
168
+ url = "http://localhost:13338?folder=/home/coder"
169
+ subdomain = true # VS Code Web does currently does not work with a subpath https://github.com/microsoft/vscode/issues/192947
170
+ share = "owner"
177
171
}
178
172
```
179
173
You can’t perform that action at this time.
0 commit comments