diff --git a/app/models/user.rb b/app/models/user.rb index 373132dedd..1135ad8921 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -6,7 +6,7 @@ class User DARTMOUTH_HOST_RE = /^(.+\.)?meptest\.dartmouth\.edu$/ DARTMOUTH_HOST_2_RE = /^(.+\.)?pub\.dartmouth\.edu$/ GITHUB_IO = /^(.+\.)?github\.io$/ - AVIARY_PLATFORM = /^(.+\.)?iiif\.aviaryplatform\.com$/ + AVIARY_PLATFORM = /^(.+)?iiif\.aviaryplatform\.com$/ POPUP_HOST_RE = /^(.+\.)?popuparchive\.com$/ AAPB_HOST_RE = /^(.+\.)?americanarchive\.org$/ AWS_HOST_RE = /^(.+\.)?wgbh-mla\.org$/