Fix bug in redirecting to index page

This commit is contained in:
Itay Mizeretz 2017-09-26 11:33:08 +03:00
parent 48b5785ef8
commit 96b1adda36
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ def serve_static_file(static_path):
return send_from_directory('ui/dist', static_path)
except NotFound:
# Because react uses various urls for same index page, this is probably the user's intention.
serve_home()
return serve_home()
def serve_home():