Skip to content

Commit 0dcdf5f

Browse files
snowronjames-crabtree-sp
authored andcommitted
fix: UI project cannot handle fallback routes (feast-dev#3766)
* fix: fallback route cannot navigate to react page Signed-off-by: snowron <snowronark@gmail.com> Signed-off-by: Danny Chiao <danny@tecton.ai> * refactor fix Signed-off-by: snowron <snowronark@gmail.com> --------- Signed-off-by: snowron <snowronark@gmail.com> Signed-off-by: Danny Chiao <danny@tecton.ai> Signed-off-by: James Crabtree <james.crabtree@sailpoint.com>
1 parent aecb367 commit 0dcdf5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/python/feast/ui_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def read_registry():
7777
# For all other paths (such as paths that would otherwise be handled by react router), pass to React
7878
@app.api_route("/p/{path_name:path}", methods=["GET"])
7979
def catch_all():
80-
filename = ui_dir + "index.html"
80+
filename = ui_dir.joinpath("index.html")
8181

8282
with open(filename) as f:
8383
content = f.read()

0 commit comments

Comments
 (0)