Skip to content

Commit df0c597

Browse files
authored
docs: update VS Code Web docs (coder#9811)
* docs: update VS Code Web docs * add back folder
1 parent cc009fe commit df0c597

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

docs/ides/web-ides.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ resource "coder_app" "code-server" {
120120
display_name = "code-server"
121121
url = "http://localhost:13337/?folder=/home/coder"
122122
icon = "/icon/code.svg"
123-
subdomain = true
123+
subdomain = false
124124
125125
healthcheck {
126126
url = "http://localhost:13337/healthz"
@@ -159,21 +159,15 @@ resource "coder_agent" "main" {
159159
You also need to add a `coder_app` resource for this.
160160

161161
```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"
177171
}
178172
```
179173

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy