question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Equivalent of base_url?

See original GitHub issue

Running justpy below the root url

  • I run a jupyter notebook at eg https://<my_site>/jupyter.
  • This is enabled by setting c.NotebookApp.base_url = '/jupyter/' in my jupyter_notebook_config.
  • Is there an equivalent justpy setting that will allow me to run a development version of justpy at eg https://<my_site>/dvl?
    • (I’m running behind nginx with location /dvl making a proxy_pass to the justpy instance.)
    • justpy reports: JustPy says: Page not found.
    • I’ve tried running uvicorn --host 0.0.0.0 --port $JUSTPY_PORT --root-path "/dvl" server:app
      • but this does the opposite of what I want: "GET /dvl/dvl HTTP/1.1" 200 OK.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:20

github_iconTop GitHub Comments

1reaction
glorietarucommented, Feb 19, 2021

Embarrassingly, that works!

Sorry for the confusion.

On Thu, 18 Feb 2021 at 17:14, elimintz notifications@github.com wrote:

Please try https://glorieta.kingsgroup.org/dvl/ (an extra slash at the end)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/elimintz/justpy/issues/220#issuecomment-781457192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ5KW7L646CKOB3BVC2QB4LS7U4GVANCNFSM4XX6ONGA .

David Robinson Data Manager King’s College, The British School of Alicante Glorieta del Reino Unido 5, 03008, Alicante (Spain) Tel: (+34) 965 106 351 david.robinson@kings.education www.kingscollegeschools.org *At the forefront of British education internationally * Spain (Madrid, Alicante, Elche, Murcia) • Latvia (Riga) • Panama (Panama City)


This message and any attachments are confidential and are protected by current legislation. If you are not the intended recipient please let us know and immediately destroy the original message. In compliance with the Regulation (EU) 2016/679 General Data Protection and the Organic Law of Protection of Personal Data and Guarantee of Digital Rights, 3/2018, 5 December, we inform you that your personal data are subject to treatment by King’s Group, with CIF B86161262, addressed in Avda. Pio XII, 92, 28036 Madrid, or Oldwood Road, Tenbury Wells, Worcestershire, WR15 8PH, UK, and they will be treated to meet your requests for information based on your email sent. The data will not be transferred to third parties except legal obligation. You have the right to withdraw consent at any time, to request access to and rectification or erasure of personal data or restriction of processing concerning the data subject or to object to processing as well as the right to data portability, and right to object as well as other rights, as explained in the additional information. ou can consult the additional and detailed information on data protection on our website https://www.kingscollegeschools.org/data-protection-policy/ or by going directly to our company. We have a Data Protection Officer who can be reached by e-mail to dpo@kingsgroup dpo@kingsgroup.org.

Este mensaje y cualquier documento adjunto son confidenciales y están protegidos por la legislación vigente. Si usted no es el destinatario deseado, avísenos y destruya inmediatamente el mensaje original. En cumplimiento del Reglamento (UE) 2016/679 de Protección General de Datos y la Ley Orgánica de Protección de Datos Personales y Garantías de Derechos Digitales, 3/2018 de 5 de diciembre, le informamos que sus datos personales están sujetos a tratamiento por parte de King’s Group, con CIF B86161262, con domicilio en Avda. Pío XII, 92, 28036 Madrid, o en Oldwood Road, Tenbury Wells, Worcestershire, WR15 8PH, Reino Unido, y serán tratados para satisfacer sus solicitudes de información basadas en su correo electrónico enviado. Los datos no serán transferidos a terceros, salvo obligación legal. Usted tiene derecho a retirar el consentimiento en cualquier momento, a solicitar el acceso y la rectificación o la supresión de los datos personales, asi como la limitación del tratamiento en relación con el interesado o el objeto del procesamiento, así como el derecho a la portabilidad de los datos y de oposici&n , así como otros derechos, como se explica en la información adicional. Puede consultar la información adicional y detallada sobre protección de datos en nuestro sitio web https://www.kingscollegeschools.org/data-protection-policy/ o dirigiéndose directamente a nuestra compañía. Tenemos un Delegado de Protección de Datos a quien puede contactar por correo electrónico a dpo@kingsgroup dpo@kingsgroup.org.

0reactions
frankie567commented, Sep 15, 2022

@WolfgangFahl Unless I’m mistaken, I don’t think the underlying problem of serving Justpy through a path prefix is solved. There are still URL that are generated statically, in particular the WebSocket URL:

https://github.com/justpy-org/justpy/blob/8e903b0e7225d00af010aec60bd58092b26c8e05/justpy/templates/js/justpy_core.js#L193-L202

Could you clarify this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

mod rewrite - .htaccess equivalent of baseurl? - Stack Overflow
to prevent urls that refer to actual files from being rewritten, thus preventing the generic rewrite from adding a second /web into the...
Read more >
What is the Lightning Component equivalent for Site.BaseUrl?
It seems that for now there is no equivalent to Site.BaseUrl. So I'm going to share what I've used to circumvent this: On...
Read more >
Meaning of ForkLift Name and BaseURL options and their ...
In WinSCP that's equivalent to "Host name". Share.
Read more >
Understanding .BaseURL and .RelPermalink - support - HUGO
Hi,. I had understood that .RelPermalink was a relative link to .Site.BaseURL and that .Permalink was equivalent to {{ .Site.BaseURL }}{{ .
Read more >
Utilizing paths feature without baseUrl #28321 - GitHub
Hi! I'm trying to figure out how to use the compilerOptions.paths behavior while retaining the default behavior of compilerOptions.baseUrl.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found