mirror of
https://github.com/kingomarnajjar/codespaces-rails.git
synced 2026-07-29 05:00:27 +10:00
Allow framing from githubpreview.dev
This commit is contained in:
parent
6774b0807b
commit
f48697913b
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue