-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Support running on custom url #1532
Comments
Wow, I thought I made something wrong. I try to host tolgee under some dir (not root) and cannot make it work. It always renders src and stylesheet with the root path, resulting in something like https://mydomain.com/assets/index-y_piHsrM.js instead of https://mydomain.com/tolgee/assets/index-y_piHsrM.js Need baseUrl setting. Frontend url does not help. |
I wonder, what do we actually need to do to make this working. 🤔 The backend is probably fine, huh? |
Based on my experience the problem is usually in the frontend and how it handles the access to static files and how it makes backend requests. With Angular frontend, you usually have to set EDIT: Forgot that you use React. This solution should work for React - https://stackoverflow.com/questions/49429906/how-should-i-configure-create-react-app-to-serve-app-from-subdirectory |
I guess FE will be much more pain, backend will be more about just adding the configuration field. |
So it is not supported? I tought setting |
No, not currently, |
E.g.
https://mydomain.com/tolgee
The text was updated successfully, but these errors were encountered: