We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f50197a commit 3a07173Copy full SHA for 3a07173
vscode-web/main.tf
@@ -85,7 +85,7 @@ resource "coder_app" "vscode-web" {
85
agent_id = var.agent_id
86
slug = var.slug
87
display_name = var.display_name
88
- url = var.folder == "" ? "http://localhost:${var.port}" : "http://localhost:${var.port}?folder=${var.folder}"
+ url = "http://localhost:${var.port}/${var.folder != "" ? "?folder=${urlencode(var.folder)}" : ""}"
89
icon = "/icon/code.svg"
90
subdomain = true
91
share = var.share
0 commit comments