Skip to content

Commit 9f09c63

Browse files
committed
Correct dev-urls example in the docs
1 parent 90ebd16 commit 9f09c63

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

workspaces/workspaces-as-code/templates.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,18 +233,23 @@ start:
233233
GOPATH: /home/coder/go
234234
```
235235

236-
#### workspace.dev-urls
236+
#### workspace.dev-urls.value
237237

238238
This list allows you to provision [dev URLs](../devurls.md) using the workspaces
239239
as code configuration file. The dev URLs will be provisioned _in addition to_
240240
any dev URLs you create.
241241

242242
```yaml
243243
dev-urls:
244-
- name: PublicPort
245-
port: 8080
246-
scheme: https
247-
access: public
244+
value:
245+
- name: PublicPort
246+
port: 8080
247+
scheme: https
248+
access: public
249+
- name: PrivatePort
250+
port: 8000
251+
scheme: https
252+
access: private
248253
```
249254

250255
#### workspace.dev-urls.value[*].name

0 commit comments

Comments
 (0)