fix folder

pull/42/head
Muhammad Atif Ali 2 years ago
parent cb7184ea65
commit 3046a58ae9
No known key found for this signature in database

@ -75,7 +75,7 @@ resource "coder_app" "vscode-server" {
agent_id = var.agent_id
slug = "vscode-server"
display_name = "VS Code Server"
url = var.folder == "" ? "http://localhost:${var.port}" : "http://localhost:${var.port}/${var.folder}"
url = var.folder == "" ? "http://localhost:${var.port}" : "http://localhost:${var.port}?folder=${var.folder}"
icon = "/icon/code.svg"
subdomain = true
share = "owner"

Loading…
Cancel
Save