This is an automated email from the ASF dual-hosted git repository.
vincbeck pushed a commit to branch remove-legacy-ui
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/remove-legacy-ui by this push:
new 69d3a3961c8 Fix fastapi config
69d3a3961c8 is described below
commit 69d3a3961c841352dc301f1da4db15c9bbf43ba8
Author: vincbeck <[email protected]>
AuthorDate: Wed Feb 26 09:28:37 2025 -0500
Fix fastapi config
---
airflow/utils/helpers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/utils/helpers.py b/airflow/utils/helpers.py
index 096af77af4f..371061069af 100644
--- a/airflow/utils/helpers.py
+++ b/airflow/utils/helpers.py
@@ -258,7 +258,7 @@ def build_airflow_dagrun_url(dag_id: str, run_id: str) ->
str:
For example:
http://localhost:9091/webapp/dags/hi/runs/manual__2025-02-23T18:27:39.051358+00:00_RZa1at4Q
"""
- baseurl = conf.get("fastapi", "base_url")
+ baseurl = conf.get("api", "base_url")
return f"{baseurl}/webapp/dags/{dag_id}/runs/{run_id}"