Skip to content

Commit

Permalink
Update ssl_redirects_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandEdara authored Sep 8, 2023
1 parent b16d1e9 commit 93a598a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/requests/ssl_redirects_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ def app_with_production_ssl_config
@app_with_production_ssl_config ||= Class.new(Rails.application.class) do
config.force_ssl = true
config.ssl_options = {
hsts: {
subdomains: true
},
redirect: { exclude: SslRedirectExclusionPolicy }
hsts: {
subdomains: true
},
redirect: { exclude: SslRedirectExclusionPolicy }
}
end
end
Expand Down

0 comments on commit 93a598a

Please sign in to comment.