Attempt to fix custom domain routing
This commit is contained in:
parent
40d2a863d5
commit
d306f3732c
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue