pierrejeambrun opened a new pull request, #46900:
URL: https://github.com/apache/airflow/pull/46900

   Closes: https://github.com/apache/airflow/issues/46550
   
   ### How to test
   - Start the front-end with breeze with or without the `dev-mode` on.
   - In the appropriate `index.html` (dev/index.html or dist/index.html) add 
the meta tag to specify your server url: `<meta name="backend-server-base-url" 
content="http://localhost:9091";>`
   - Set the appropriate CORS rules for your server to allow vite to perform 
xhr requests: `export 
AIRFLOW__API__ACCESS_CONTROL_ALLOW_ORIGINS="http://localhost:29090"`
   - Start the fastapi server on the specified port (by default 9091) `airflow 
fastapi-api` with the (CORS env variable set in the previous step
   - Go to the UI in breeze `http://localhost:29091/webapp/` requests should go 
to your standalone fastapi server instead of the breeze one (9091 instead of 
29091)
   
   ![Screenshot 2025-02-19 at 16 52 
14](https://github.com/user-attachments/assets/15f1b9f7-d34e-438d-8c55-0adc5702fa72)
   


-- 
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