Hello, When upgrading to Prefect 3, I had to expli...
# prefect-ui
t
Hello, When upgrading to Prefect 3, I had to explicitly set the “prefectApiUrl” in my values.yaml file of the prefect-server helm chart. This is the URL that the web UI uses instead of the hostname in the UI URL. How can I revert back to the Prefect 2.x behavior of using the hostname from the page so I do not have to hard code the Api URL in my helm charts?
m
@Jamie Dick - is this in our wheelhouse as the chart maintainers?
t
Looking at the network calls, Prefect 2.x UI calls ui-settings:
Copy code
{
    "api_url": "/api",
    "csrf_enabled": false,
Prefect 3.x calls ui-settings:
Copy code
{
    "api_url": "<https://prefect.my.internal.domain/api>",
    "csrf_enabled": false,
s
Same here. But in Prefect 3.0.4, I did not need to set the parameter prefectApiUrl . After I upgrade to 3.1.2, same the setting seems to be needed.
t
So a recent change
👍 1
m
@Nate does this look familiar to you? if not it may be a change in our charts, in which case we can dig in
n
this sounds like it might be related to settings changes can one of you please open an issue about this?
t