File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ def show_error_page(env, exception=nil)
120120 # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src
121121 "script-src 'self' 'nonce-#{ csp_nonce } ' 'unsafe-inline'" ,
122122 "style-src 'self' 'nonce-#{ csp_nonce } ' 'unsafe-inline'" ,
123+ "img-src data:" ,
123124 "connect-src 'self'" ,
124125 "navigate-to 'self' #{ BetterErrors . editor . scheme } " ,
125126 ] . join ( '; ' ) ,
Original file line number Diff line number Diff line change 22< html >
33< head >
44 < title > <%= exception_type %> at <%= request_path %> </ title >
5+ < link rel ="icon " href ="data:;base64,= " />
56</ head >
67< body class ="better-errors-javascript-not-loaded ">
78 <%# Stylesheets are placed in the <body> for Turbolinks compatibility. %>
You can’t perform that action at this time.
0 commit comments