Skip to content

feast ui not working behind proxy #3011

@bskbgood

Description

@bskbgood

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")}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions