mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
Add lab.reddit.com to the middleware exception.
This commit is contained in:
@@ -306,7 +306,7 @@ class DomainMiddleware(object):
|
||||
sr_redirect = None
|
||||
for sd in list(sub_domains):
|
||||
# subdomains to disregard completely
|
||||
if sd in ('www', 'origin', 'beta', 'pay', 'buttons', 'ssl'):
|
||||
if sd in ('www', 'origin', 'beta', 'lab', 'pay', 'buttons', 'ssl'):
|
||||
continue
|
||||
# subdomains which change the extension
|
||||
elif sd == 'm':
|
||||
|
||||
Reference in New Issue
Block a user