:wave: Hello :slightly_smiling_face: That would be...
# prefect-ui
f
👋 Hello 🙂 That would be a question for prefect 2.0. Is there a possibility to change the
base_url
? I’m “need” to run the UI on a certain path (
<http://mydomain.es/orion-ui|mydomain.es/orion-ui>
) and it seems that the assets (json etc.) are being loaded from
<http://mydomain.es|mydomain.es>
, which returns a 404 “obviously”. I believe the
base_url
is set here, so it doesn’t look at least at it were changeable. Am I missing something?
a
yes, there is!
Copy code
prefect config set PREFECT_ORION_UI_API_URL="<http://your_host_ip:4200/api>"
f
Thanks Anna! I tried
prefect config set PREFECT_ORION_UI_API_URL="<http://mydomain.es/orion-ui/api>"
which doesn’t fix it. I must mentioned that the api routes themselves work fine (like
<http://mydomain.es/orion-ui/api/admin/settings|mydomain.es/orion-ui/api/admin/settings>
)
a
the intended use was to use the host IP address or main domain:
Copy code
prefect config set PREFECT_ORION_UI_API_URL="<http://mydomain.es:4200/api>"
no DNS expert though
🙌 1
f
I see your point 🙂 I’ll try to work around it with a reverse proxy. Let’s see how that goes!
👍 1