-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Describe the bug/problem
My Calibre instance is running in a subdirectory https://mydomain.tld/calibre. When I change the Calibre theme to Caliblur there is a small bug with the home button. The home button doesn't link to https://mydomain.tld/calibre but to https://mydomain.tld. The interesting thing is that
To Reproduce
Steps to reproduce the behavior:
- Install Calibre Web in a subdirectory
- Change theme to Caliblur
- Click on the home button in Caliblur
- See that you are being redirected to the root domain without the subdirectory
Expected behavior
The home button should link to Calibre web's correct installation directory (including the subdirectory).
Environment (please complete the following information):
- OS: Debian 11
- Python version: Python 3
- Calibre-Web version: 0.6.20
- Docker container: None
- Special Hardware: none
- Browser: Chrome
Additional context
Interestingly, the Calibre Web Link just below the Home Button is pointing to the correct directory including the subdirectory. I briefly checked Caliblur JavaScript and thre the href property is set to $(".navbar-brand")[0].href, see https://github.com/janeczku/calibre-web/blob/master/cps/static/js/caliBlur.js#L506.
