Skip to content

Commit 6cc9c4e

Browse files
committed
ignore cloudfront constraint
1 parent 87a3d56 commit 6cc9c4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/routes.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
end
77

88
# This disables serving any web requests other then /assets out of CloudFront
9-
match '*path', via: :all, to: 'pages#show', page: 'not_found',
10-
constraints: CloudfrontConstraint.new
9+
# match '*path', via: :all, to: 'pages#show', page: 'not_found',
10+
# constraints: CloudfrontConstraint.new
1111

1212
resources :jobs, only: [:index, :show, :new, :create]
1313
resources :subscriptions, controller: 'job_subscriptions', path: 'jobs/subscriptions', only: [:new, :create]

0 commit comments

Comments
 (0)