-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Expected Behavior
Feast UI should be able to load up behind proxy
Current Behavior
Feast UI not loaded behind proxy
Steps to reproduce
Specifications
- Version: 0.23.0
- Platform: Linux
- Subsystem:
Possible Solution
Allow user to pass root_path when initialize FastAPI.
E.g.
from fastapi import FastAPI, Request
app = FastAPI(root_path="/api/v1")
@app.get("/app")
def read_main(request: Request):
return {"message": "Hello World", "root_path": request.scope.get("root_path")}