This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 28d35bcf261 Fix ENV variable in ui CONTRIBUTING.md, ensure app runs on 
expected port. (#52023)
28d35bcf261 is described below

commit 28d35bcf261dc1f91858c5f2bbb454b6d178c89e
Author: Josef Šimánek <[email protected]>
AuthorDate: Sun Jun 22 16:18:25 2025 +0200

    Fix ENV variable in ui CONTRIBUTING.md, ensure app runs on expected port. 
(#52023)
---
 .../src/airflow/api_fastapi/auth/managers/simple/ui/package.json        | 2 +-
 airflow-core/src/airflow/ui/CONTRIBUTING.md                             | 2 +-
 airflow-core/src/airflow/ui/package.json                                | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/package.json 
b/airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/package.json
index 00eaa21191f..f15fc2cad77 100644
--- a/airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/package.json
+++ b/airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/package.json
@@ -4,7 +4,7 @@
   "version": "0.0.0",
   "type": "module",
   "scripts": {
-    "dev": "vite --port 5174",
+    "dev": "vite --port 5174 --strictPort",
     "build": "vite build",
     "lint": "eslint --quiet && tsc --p tsconfig.app.json",
     "lint:fix": "eslint --fix && tsc --p tsconfig.app.json",
diff --git a/airflow-core/src/airflow/ui/CONTRIBUTING.md 
b/airflow-core/src/airflow/ui/CONTRIBUTING.md
index 43f5ac043be..a7a2ae9831e 100644
--- a/airflow-core/src/airflow/ui/CONTRIBUTING.md
+++ b/airflow-core/src/airflow/ui/CONTRIBUTING.md
@@ -26,7 +26,7 @@ With Breeze:
 
 Manually:
 
-- Have the `dev-mode` environment variable enabled
+- Have the `DEV_MODE` environment variable set to `true` when starting airflow 
api-server
 - Run `pnpm install && pnpm dev`
 - Note: Make sure to access the UI via the Airflow localhost port (8080 or 
28080) and not the vite port (5173)
 
diff --git a/airflow-core/src/airflow/ui/package.json 
b/airflow-core/src/airflow/ui/package.json
index 2429adc35a0..e8eab0f1fd7 100644
--- a/airflow-core/src/airflow/ui/package.json
+++ b/airflow-core/src/airflow/ui/package.json
@@ -5,7 +5,7 @@
   "type": "module",
   "homepage": "/ui",
   "scripts": {
-    "dev": "vite",
+    "dev": "vite --port 5173 --strictPort",
     "build": "vite build",
     "lint": "eslint --quiet && tsc --p tsconfig.app.json",
     "lint:fix": "eslint --fix && tsc --p tsconfig.app.json",

Reply via email to