Allow api subdomain on staging to work too
This commit is contained in:
parent
550fc91138
commit
ab32f5dad9
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ Rails.application.routes.draw do
|
|||
resources :versions, only: [:show]
|
||||
end
|
||||
|
||||
constraints subdomain: 'api' do
|
||||
constraints subdomain: /^api(\.|$)/ do
|
||||
namespace :api, path: nil do
|
||||
namespace :v1 do
|
||||
resources :cards, only: [:index, :show]
|
||||
|
|
Loading…
Reference in a new issue