From 84b83baf13415f08ed13280ac1cc063bfaef1fea Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Mon, 8 Jun 2020 21:46:03 +0000 Subject: [PATCH] Remove bypass from debugging --- apiserver/apiserver/api/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apiserver/apiserver/api/utils.py b/apiserver/apiserver/api/utils.py index e919876..7195700 100644 --- a/apiserver/apiserver/api/utils.py +++ b/apiserver/apiserver/api/utils.py @@ -209,7 +209,6 @@ clean = Cleaner(tags=ALLOWED_TAGS).clean def is_request_from_protospace(request): - return True whitelist = ['24.66.110.96', '205.233.15.76', '205.233.15.69'] # set (not appended) directly by nginx so we can trust it