-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Reverse proxying mmpm ui fails due to api path resolution #190
Comments
python3 -m pip install --upgrade mmpm error: externally-managed-environment × This environment is externally managed
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. |
This is unrelated to the issue created and is also unrelated to MMPM. The error message you posted includes instructions to solve the problem, and you can see this stack overflow link for other options: |
Would be great to consider, I believe there are many persons running stuff behind a reverse proxy. |
@jhogendorn @smellouk this wouldn't be a big deal to add, but I'm not sure when I'll have time to implement it. If either of you are willing, feel free to add the feature and make a pull request. |
If you put the mmpm ui behind a reverse proxy to give it a domain and 80/443 access, it loads the main ui but cant resolve any api endpoints due to appending the expected 7890 port to the base url on this line:
mmpm/ui/src/app/services/api/base-api.ts
Line 28 in c410f73
The url could maybe be built in a way that accommodates this better?
The text was updated successfully, but these errors were encountered: