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 when using reverse proxy with LSIO SWAG config #198

Closed
morpheus65535 opened this issue Jan 24, 2025 · 1 comment · Fixed by #199
Closed

Issue when using reverse proxy with LSIO SWAG config #198

morpheus65535 opened this issue Jan 24, 2025 · 1 comment · Fixed by #199

Comments

@morpheus65535
Copy link
Contributor

When trying to change theme or force a library refresh using this NGINX reverse proxy config (subfolder):
https://github.com/linuxserver/reverse-proxy-confs/blob/master/calibre-web.subfolder.conf.sample

On those lines, am I right thinking we should use return redirect(url_for("web.index")) instead?
https://github.com/crocodilestick/Calibre-Web-Automated/blob/main/root/app/calibre-web/cps/cwa_functions.py#L75
https://github.com/crocodilestick/Calibre-Web-Automated/blob/main/root/app/calibre-web/cps/cwa_functions.py#L99

@morpheus65535
Copy link
Contributor Author

I can confirm that modifying those lines as suggested fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant