From 96b1adda3650f733034caac6518f408a8842b7c3 Mon Sep 17 00:00:00 2001 From: Itay Mizeretz Date: Tue, 26 Sep 2017 11:33:08 +0300 Subject: [PATCH] Fix bug in redirecting to index page --- monkey_island/cc/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey_island/cc/app.py b/monkey_island/cc/app.py index 4a83390b1..6cfea1502 100644 --- a/monkey_island/cc/app.py +++ b/monkey_island/cc/app.py @@ -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():