mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 19:52:18 -05:00
allowed CORS image
This commit is contained in:
1 parent
81cfcbb335
commit
df69920be1
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user