Skip to content

Commit 4633f09

Browse files
committed
Headers: Disable Upgrade-Insecure-Requests in development.
1 parent 04e2545 commit 4633f09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/initializers/10-secure_headers.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
script_src: %w('unsafe-inline'),
3131
style_src: %w('unsafe-inline'),
3232
connect_src: %w('self'),
33+
upgrade_insecure_requests: false,
3334
})
3435
end
3536
end

0 commit comments

Comments
 (0)