Run bin/rails app:update with Rails 7.1 (#27522)
This commit is contained in:
parent
235a4cfdc8
commit
9a3d047f3e
10 changed files with 307 additions and 47 deletions
|
|
@ -1,8 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# Define an application-wide content security policy
|
||||
# For further information see the following documentation
|
||||
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
# Define an application-wide content security policy.
|
||||
# See the Securing Rails Applications Guide for more information:
|
||||
# https://guides.rubyonrails.org/security.html#content-security-policy-header
|
||||
|
||||
def host_to_url(str)
|
||||
return if str.blank?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue