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?
|
mount LetterOpenerWeb::Engine, at: "/letter_opener" if Rails.env.development?
|
||||||
|
|
||||||
constraints DomainConstraint do
|
|
||||||
get '/', to: 'conferences#show'
|
|
||||||
end
|
|
||||||
|
|
||||||
if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
||||||
devise_for :users, controllers: { registrations: :registrations }
|
devise_for :users, controllers: { registrations: :registrations }
|
||||||
else
|
else
|
||||||
|
|
@ -232,5 +228,9 @@ Osem::Application.routes.draw do
|
||||||
root to: 'conferences#index', via: [:get, :options]
|
root to: 'conferences#index', via: [:get, :options]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
constraints DomainConstraint do
|
||||||
|
root to: 'conferences#show'
|
||||||
|
end
|
||||||
|
|
||||||
get '/.well-known/apple-developer-merchantid-domain-association', to: 'application#apple_pay'
|
get '/.well-known/apple-developer-merchantid-domain-association', to: 'application#apple_pay'
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue