diff --git a/sdk/python/feast/ui_server.py b/sdk/python/feast/ui_server.py index cc553a9711b..8a39293f918 100644 --- a/sdk/python/feast/ui_server.py +++ b/sdk/python/feast/ui_server.py @@ -77,7 +77,7 @@ def read_registry(): # For all other paths (such as paths that would otherwise be handled by react router), pass to React @app.api_route("/p/{path_name:path}", methods=["GET"]) def catch_all(): - filename = str(ui_dir) + "/index.html" + filename = ui_dir.joinpath("index.html") with open(filename) as f: content = f.read()