From 3e89053dc0256185a2b14d2c44ff45d4d936aa5f Mon Sep 17 00:00:00 2001 From: Samuel Hoffman Date: Wed, 8 Jan 2020 13:37:10 -0500 Subject: [PATCH] temporarily disable /landing -> / while challenge is running --- CodeChallenge/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CodeChallenge/__init__.py b/CodeChallenge/__init__.py index f7681f7..00a44a6 100644 --- a/CodeChallenge/__init__.py +++ b/CodeChallenge/__init__.py @@ -87,8 +87,8 @@ def send_assets(path): @app.route("/landing/") def send_landing(path): - if core.current_rank() != -1: - return redirect("/") + # if core.current_rank() != -1: + # return redirect("/") if path: return send_from_directory("../landing/", path)