-
Notifications
You must be signed in to change notification settings - Fork 513
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
Fixes and cleanup for subdirectory serving support #3521
Conversation
…bookshelf into subdirectory-fixes
That's much better, thanks for cleaning that up. Working well in my tests and with base path set on the server side. |
Found an issue in dev with the endpoints not prefixed with If you logout it will show the init screen because the request to I realize this is why did the |
ok, I'll take a look.
…On Wed, Oct 16, 2024, 17:40 advplyr ***@***.***> wrote:
Found an issue in dev with the endpoints not prefixed with /api/ /public/
and /hls/.
If you logout it will show the init screen because the request to /status
doesn't get proxied.
I realize this is why did the /dev proxy with the axios middleware
modifying the url. There is probably a better solution though
—
Reply to this email directly, view it on GitHub
<#3521 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFMDFVX4Y5WRVTJVKWFKARDZ3Z3GTAVCNFSM6AAAAABP6JIWO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGA2DEMBRGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This PR contains some cleanup and a few fixes to allow for serving Audiobookshelf with a non-empty ROUTER_BASE_PATH, in both development and production environments.
The following modifications are included:
/dev
routing on the clientrouterBasePath
andserverHostUrl
constants in nuxt.config.jslocalhost:3333
) from the codepublic
andhls
/healthcheck
on the main router rather than the app.I have tested quite extensively with empty and non-empty ROUTER_BASE_PATH, and with development and production client setups, and it seems to work fine on all setup now.