Skip to content
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

Issue in index page for prefixed multi-page app #7736

Open
1 task done
TheoMathurin opened this issue Feb 25, 2025 · 0 comments
Open
1 task done

Issue in index page for prefixed multi-page app #7736

TheoMathurin opened this issue Feb 25, 2025 · 0 comments
Milestone

Comments

@TheoMathurin
Copy link
Contributor

Something odd was introduced in Panel 1.6.1 in the index page of prefixed multi-page apps compared to Panel 1.6.0.

App items in the index page are called <<PREFIX>>/<<APP_NAME>> instead of simply <<APP_NAME>>.

To reproduce: create dummy apps in modules app1 and app2.

panel serve app1.py app2.py --prefix prefix

Image

The links to the apps are OK.

If you add a trailing slash to the index page URL, you will get the old behaviour but panel apps themselves, like bokeh apps, are usually accessed without trailing slash as it's known to cause 404s. Also, the path to thumbnails will be /thumbnails/prefix/<<APP_NAME>>.png without slash and /prefix/thumbnails/<<APP_NAME>>.png with a slash.

  • I may be interested in making a pull request to address this if I know where to look.
@philippjfr philippjfr added this to the v1.7.0 milestone Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants