AIP-84 Allow specifying an injectable path_prefix #45933
Labels
area:API
Airflow's REST/HTTP API
area:UI
Related to UI/UX. For Frontend Developers.
good first issue
kind:meta
High-level information important to the community
Milestone
Body
Allow via a configuration parameter a way for user to specify a
path_prefix
on the fastapi application. (FastAPI app also serves the webapplication, both will be under that prefix).We can leverage the
root_path
param of fastapi and can build something similar to what we had for the legacy_api here:airflow/airflow/www/extensions/init_wsgi_middlewares.py
Lines 45 to 51 in 051e617
This will also most likely require some adjustment in the front-end part. (vite build + redirection etc... to use the appropriate prefix, otherwise we might end-up with 404 responses there).
Committer
The text was updated successfully, but these errors were encountered: