-
Notifications
You must be signed in to change notification settings - Fork 13
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
BUG-If I configure the base_url in gui.run, and I will get the blank website in web browser. #840
Comments
This code is not working as well locally. from taipy.gui import Gui
Gui("# Taipy App").run(base_url="/taipy") |
Is anyone know that how to fix the error? |
The base_url is to be used when working with a proxy. The base_url is basically for deployment usage only and not locally. It is a way to let Taipy know if the base path is hosted on a different base route. What is your use case for using base_url? |
We can put the application into our platform app store and the user can create the app by themselves. Our app service needs to use url prefix for each unique app pod. If the environment variable needs other method to combine together, then I think I cannot put into our service platform. Do you have method without proxy? Thanks! |
If the requirement is for a local setup for a single application, modifying the page name could suffice: prefix_url = "prefix/"
pages = {
prefix_url + 'page_1': page_1,
prefix_url + 'page_2': page_2
}
Gui(pages=pages).run() This approach allows for simple redirection within the local context of a single Taipy application. However, when involving multiple Taipy applications, a more robust proxy solution is necessary. We can help you on that. |
We need to add some documentation on that. |
This issue has been labelled as "🥶Waiting for contributor" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines. |
This issue has been unassigned automatically because it has been marked as "🥶Waiting for contributor" for more than 14 days with no activity. |
Description
A complete and clear description of the problem.
If I configure the base_url in gui.run, and I will get the blank website in web browser.
How to reproduce
Expected behavior
Description of what would be the expected outcome.
I can see the dashboard in http://localhost:5000/taipy/
Screenshots
When available and relevant, screenshots to better highlight the problem.
None
Runtime environment
Please specify relevant indications.
v3.0.0
docker: https://docs.taipy.io/en/develop/manuals/run-deploy/deploy/docker/development/
Chrome
and any other relevant information.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: