-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get this working with the new Datasette base_url feature #1
Comments
I installed
|
Interesting - it looks like the Binder proxy sends |
https://jupyter-server-proxy.readthedocs.io/en/latest/ looks like the relevant documentation. |
Docs here https://jupyter-server-proxy.readthedocs.io/en/latest/server-process.html say:
So I think I want that set to |
That resulted in an infinite loop. I'll try |
https://hub.gke.mybinder.org/user/simonw-jupyters--datasette-demo-8s26ppik/datasette/-/config confirms that
|
Aha! <!DOCTYPE html>
<html>
<head>
<title>Datasette: dakar_sql</title>
<link rel="stylesheet" href="/user/simonw-jupyters--datasette-demo-8s26ppik/-/static/app.css?ffa51a">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body class="index">
<nav class="hd"></nav>
<div class="bd">
<h1>Datasette</h1>
<h2 style="padding-left: 10px; border-left: 10px solid #3ce9d5"><a href="/user/simonw-jupyters--datasette-demo-8s26ppik/dakar_sql">dakar_sql</a></h2>
<p>
24,942 rows in 7 tables
</p>
<p><a href="/user/simonw-jupyters--datasette-demo-8s26ppik/dakar_sql/waypoints" title="16265 rows">waypoints</a>, <a href="/user/simonw-jupyters--datasette-demo-8s26ppik/dakar_sql/ranking" title="4579 rows">ranking</a>, <a href="/user/simonw-jupyters--datasette-demo-8s26ppik/dakar_sql/stagemeta" title="2642 rows">stagemeta</a>, <a href="/user/simonw-jupyters--datasette-demo-8s26ppik/dakar_sql/crew" title="543 rows">crew</a>, <a href="/user/simonw-jupyters--datasette-demo-8s26ppik/dakar_sql/teams" title="334 rows">teams</a>, <a href="/user/simonw-jupyters--datasette-demo-8s26ppik/dakar_sql">...</a></p>
</div>
<div class="ft">Powered by <a href="https://github.com/simonw/datasette" title="Datasette vrefs/pull/708/head">Datasette</a>
</div>
</body>
</html> Those URLs are almost correct, but they should have |
Woohoo! That seems to work: https://hub.gke.mybinder.org/user/simonw-jupyters--datasette-demo-fc7aqzrf/datasette/dakar_sql/waypoints |
I've been building a
base_url
config feature in simonw/datasette#394 - let's see if I can get it working here.The text was updated successfully, but these errors were encountered: