Allow framing from githubpreview.dev

This commit is contained in:
Josh Abernathy 2022-07-12 17:41:55 +00:00 committed by GitHub
parent 6774b0807b
commit f48697913b

View file

@ -11,6 +11,10 @@ module CodespacesTryRails
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.0
config.action_dispatch.default_headers = {
'X-Frame-Options' => 'ALLOW-FROM githubpreview.dev'
}
# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files