Skip to content

Commit a1b0165

Browse files
committed
separate keys with a comma
1 parent 677c6f1 commit a1b0165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

findthatpostcode/limiter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from flask_limiter.util import get_remote_address
66

77
RATE_LIMIT_EXEMPT_HEADER = "X-RateLimit-Exempt"
8-
RATE_LIMIT_EXEMPT_KEYS = os.environ.get("RATE_LIMIT_EXEMPT_KEYS", "").split(";")
8+
RATE_LIMIT_EXEMPT_KEYS = os.environ.get("RATE_LIMIT_EXEMPT_KEYS", "").split(",")
99

1010

1111
def exempt_if_header():

0 commit comments

Comments
 (0)