diff --git a/config/routes.rb b/config/routes.rb index 79b03928..ef984ca9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,10 +2,6 @@ Osem::Application.routes.draw do mount LetterOpenerWeb::Engine, at: "/letter_opener" if Rails.env.development? - constraints DomainConstraint do - get '/', to: 'conferences#show' - end - if ENV['OSEM_ICHAIN_ENABLED'] == 'true' devise_for :users, controllers: { registrations: :registrations } else @@ -232,5 +228,9 @@ Osem::Application.routes.draw do root to: 'conferences#index', via: [:get, :options] end + constraints DomainConstraint do + root to: 'conferences#show' + end + get '/.well-known/apple-developer-merchantid-domain-association', to: 'application#apple_pay' end