From c5c569e9138b174dbc3a544980af1a43531e5001 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 21 Oct 2024 08:05:32 +0500 Subject: [PATCH] Update jupyterlab/main.tf Co-authored-by: Asher --- jupyterlab/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterlab/main.tf b/jupyterlab/main.tf index 88933ff8..e893f539 100644 --- a/jupyterlab/main.tf +++ b/jupyterlab/main.tf @@ -58,7 +58,7 @@ resource "coder_script" "jupyterlab" { script = templatefile("${path.module}/run.sh", { LOG_PATH : var.log_path, PORT : var.port - BASE_URL : var.subdomain ? "http://localhost:${var.port}/@${data.coder_workspace_owner.me.name}/${data.coder_workspace.me.name}/apps/jupyterlab" : "" + BASE_URL : var.subdomain ? "" : "/@${data.coder_workspace_owner.me.name}/${data.coder_workspace.me.name}/apps/jupyterlab"" }) run_on_start = true }