From df69920be1db9684bc60a8a2abc7bcec7594e156 Mon Sep 17 00:00:00 2001 From: TheMBeat Date: Thu, 3 Apr 2025 08:33:10 +0200 Subject: [PATCH] allowed CORS image --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a0a817cad..ad836d45d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -51,7 +51,7 @@ class ApplicationController < ActionController::Base def img_src url = SiteSettings.site_icon ? URI.parse(SiteSettings.site_icon).host : nil - [:self, :data, url, "https://cdn.jsdelivr.net"].compact + [:self, :data, url, "https://cdn.jsdelivr.net","https://raw.githubusercontent.com"].compact end def configure_content_security_policy