Skip to content

Commit 3778c63

Browse files
authored
fix errors (#58)
1 parent a2d5ba0 commit 3778c63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docs/resources/app.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ resource "coder_app" "code-server" {
4141
resource "coder_app" "vim" {
4242
agent_id = coder_agent.dev.id
4343
name = "Vim"
44-
icon = data.coder_workspace.me.access_url + "/icons/vim.svg"
44+
icon = "${data.coder_workspace.me.access_url}/icon/vim.svg"
4545
command = "vim"
4646
}
4747
4848
resource "coder_app" "intellij" {
4949
agent_id = coder_agent.dev.id
50-
icon = data.coder_workspace.me.access_url + "/icons/intellij.svg"
50+
icon = "${data.coder_workspace.me.access_url}/icon/intellij.svg"
5151
name = "JetBrains IntelliJ"
5252
command = "projector run"
5353
}
@@ -64,7 +64,7 @@ resource "coder_app" "intellij" {
6464

6565
- `command` (String) A command to run in a terminal opening this app. In the web, this will open in a new tab. In the CLI, this will SSH and execute the command. Either "command" or "url" may be specified, but not both.
6666
- `healthcheck` (Block Set, Max: 1) HTTP health checking to determine the application readiness. (see [below for nested schema](#nestedblock--healthcheck))
67-
- `icon` (String) A URL to an icon that will display in the dashboard. View built-in icons here: https://github.com/coder/coder/tree/main/site/static/icons. Use a built-in icon with `data.coder_workspace.me.access_url + "/icons/<path>"`.
67+
- `icon` (String) A URL to an icon that will display in the dashboard. View built-in icons here: https://github.com/coder/coder/tree/main/site/static/icon. Use a built-in icon with `"${data.coder_workspace.me.access_url}/icon/<path>"`.
6868
- `name` (String) A display name to identify the app.
6969
- `relative_path` (Boolean) Specifies whether the URL will be accessed via a relative path or wildcard. Use if wildcard routing is unavailable.
7070
- `url` (String) A URL to be proxied to from inside the workspace. Either "command" or "url" may be specified, but not both.

0 commit comments

Comments
 (0)