pierrejeambrun commented on code in PR #54008:
URL: https://github.com/apache/airflow/pull/54008#discussion_r2248188047


##########
airflow-core/src/airflow/ui/src/i18n/config.ts:
##########
@@ -37,13 +37,16 @@ export const supportedLanguages = [
 export const defaultLanguage = "en";
 export const namespaces = ["common", "dashboard", "dags", "admin", "browse", 
"assets", "components"] as const;
 
+const baseUrl = document.querySelector("base")?.href ?? 
"http://localhost:8080/";;

Review Comment:
   Yes, and we don't want a default there either, because we want to default to 
the current 'location' of the front-end. (where it's served)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to