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

Problem with relative path for the app #26

Open
tlunet opened this issue Jul 19, 2023 · 1 comment
Open

Problem with relative path for the app #26

tlunet opened this issue Jul 19, 2023 · 1 comment
Assignees
Labels
bug Something isn't working website

Comments

@tlunet
Copy link
Member

tlunet commented Jul 19, 2023

There is a bug since then with the paths : local version works, but server version only allows to access the index pages,
but not the app pages (or the favicon, etc ...). Using the last commit 48d9b34 on the server now.

Response from @MichelKrispin :

yes I've seen it yesterday and the problem relates to the relative/absolute paths of js/css files. Without a recursive structure the assets path were all relative and in the same route/folder structure. Now, they have to access the same files which are usually at the index route /.
But on the server this absolute path index route maps to the URL https://jupyterhub.mat.tu-harburg.de/ while we would need the URL https://jupyterhub.mat.tu-harburg.de/blockops/.
I tried to fix it with absolute paths that get generated at runtime by Flask which might already fix the problem. So if you upload the latest updates, it might work.

@tlunet tlunet added bug Something isn't working website labels Jul 19, 2023
@tlunet
Copy link
Member Author

tlunet commented Jul 19, 2023

Problem is still there, I'm currently letting the last version being run from a terminal session

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working website
Projects
None yet
Development

No branches or pull requests

2 participants