-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
Run librephotos from URL subdirectory #757
Comments
This is implemented in the mobile client, which uses a similar stack. Should be not that hard to add for a new developer. |
Can I start working on this issue? |
Thanks for looking into this :) You have to add this functionality to the axios client and the redux query client: https://github.com/LibrePhotos/librephotos-frontend/blob/dev/src/api_client/apiClient.js https://github.com/LibrePhotos/librephotos-frontend/blob/dev/src/api_client/api.ts This should be settable via an environment variable, and if nothing is set the current behavior should be used. We already do something similar for the mobile client, which you can check out here for redux query |
@abdulasiraj, @derneuere, did you yet implement this feature? |
If an issue is open, it means, it is not done yet. We are aware, that some users want this feature. This project is open source though, so you can always add the feature yourself and open a pull request :) |
I chime is as well, this would be awesome, unfortunately i do not have the expertise for pulling the frontend myself... |
I think that this is needed feature. |
If librephotos is installed along other apps on same server or running behind reverse proxy it will be good to be able to run it from a subdirectory. Now it is running always from / and will be good to have option to run from /librephotos, for example.
I tried to use librephotos docker images behind apache ssl terminating reverse proxy as https://example.com/librephotos, but api calls and almost any other urls are broken even if I use ProxyHTMLURLMap in apache.
The text was updated successfully, but these errors were encountered: