forked from p15670423/monkey
Fix bug in redirecting to index page
This commit is contained in:
parent
48b5785ef8
commit
96b1adda36
|
@ -29,7 +29,7 @@ def serve_static_file(static_path):
|
||||||
return send_from_directory('ui/dist', static_path)
|
return send_from_directory('ui/dist', static_path)
|
||||||
except NotFound:
|
except NotFound:
|
||||||
# Because react uses various urls for same index page, this is probably the user's intention.
|
# Because react uses various urls for same index page, this is probably the user's intention.
|
||||||
serve_home()
|
return serve_home()
|
||||||
|
|
||||||
|
|
||||||
def serve_home():
|
def serve_home():
|
||||||
|
|
Loading…
Reference in New Issue