From 11087c3a8979464fd48fe0c6da959b16e097d6b0 Mon Sep 17 00:00:00 2001 From: Daniel Cortes Date: Wed, 3 Jun 2020 16:02:14 -0400 Subject: [PATCH] Only allow musiclist as cors origin --- musiclist/settings/prod.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/musiclist/settings/prod.py b/musiclist/settings/prod.py index 1e6e597..201e540 100644 --- a/musiclist/settings/prod.py +++ b/musiclist/settings/prod.py @@ -8,10 +8,6 @@ CORS_ORIGIN_ALLOW_ALL = False CORS_ORIGIN_WHITELIST = [ 'musiclist.danielcortes.xyz', ] -CORS_ORIGIN_REGEX_WHITELIST = [ - 'localhost((:\d)\d{0,3})?', - '127.0.0.1((:\d)\d{0,3})?', -] """Security""" SECURE_HSTS_SECONDS = 31536000