Skip to content

Commit

Permalink
Use second capture group for centerforopenscience.org redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
binoculars committed Oct 16, 2018
1 parent a68418a commit 41f3a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@

# Used by common.middleware.URLRedirectMiddleware
URL_REDIRECTS = (
(r'^(www\.)?centerforopenscience.org(.*)$', r'{}\1'.format(BASE_URL)),
(r'^(www\.)?centerforopenscience.org(.*)$', r'{}\2'.format(BASE_URL)),
(r'^www\.cos\.io(.*)$', r'{}\1'.format(BASE_URL)),
)

0 comments on commit 41f3a57

Please sign in to comment.