Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit acbf564

Browse files
committed
Fixes to Subpath on Jupyter module #313
1 parent 92a898e commit acbf564

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jupyterlab/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ resource "coder_script" "jupyterlab" {
6565

6666
resource "coder_app" "jupyterlab" {
6767
agent_id = var.agent_id
68-
slug = "jupyterlab" # sync with with end of subdomain URL
68+
slug = "jupyterlab" # sync with the usage in URL
6969
display_name = "JupyterLab"
7070
url = var.subdomain ? "http://localhost:${var.port}/@${data.coder_workspace_owner.me.name}/${data.coder_workspace.me.name}/apps/jupyterlab" : "http://localhost:${var.port}"
7171
icon = "/icon/jupyter.svg"

jupyterlab/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env sh
22

3-
if [ -n "$BASE_URL" ]
3+
if [ -n "${BASE_URL}" ]
44
then
55
BASE_URL="--ServerApp.base_url=${BASE_URL}"
66
fi
@@ -25,8 +25,8 @@ else
2525
printf "%s\n\n" "🥳 jupyterlab is already installed"
2626
fi
2727

28-
echo "👷 Starting jupyterlab in background..."
29-
echo "check logs at ${LOG_PATH}"
28+
printf "👷 Starting jupyterlab in background..."
29+
printf "check logs at ${LOG_PATH}"
3030
$HOME/.local/bin/jupyter-lab --no-browser \
3131
"$BASE_URL" \
3232
--ServerApp.ip='*' \

0 commit comments

Comments
 (0)