Skip to content

Commit b9a0ae9

Browse files
committed
added debug and --sessions
1 parent 7b6fab5 commit b9a0ae9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jupyter_pgweb_proxy/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def _get_env(port, base_url):
2020

2121
return {
2222
"PGWEB_RUN_PORT": str(port),
23-
"PGWEB_URL_PREFIX": f"{base_url}pgweb",
23+
"PGWEB_URL_PREFIX": f"{base_url}pgweb/".lstrip("/"),
2424
}
2525

2626

@@ -70,6 +70,8 @@ def run_app():
7070
executable_name,
7171
f"--host={host}",
7272
"--listen={port}",
73+
"--debug",
74+
"--sessions",
7375
],
7476
"timeout": 100,
7577
"environment": _get_env,

0 commit comments

Comments
 (0)