vitcou commented on issue #2588: URL: https://github.com/apache/apisix-dashboard/issues/2588#issuecomment-1229377826
i found the reason, is the conf.yaml key "content_security_policy" set relate to https://github.com/apache/apisix-dashboard/issues/2546 https://github.com/apache/apisix-dashboard/pull/2548 ```yaml security: # access_control_allow_origin: "http://httpbin.org" # access_control_allow_credentials: true # support using custom cors configration # access_control_allow_headers: "Authorization" # access_control-allow_methods: "*" # x_frame_options: "deny" content_security_policy: "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src * 'self' data: https:; frame-src xx.xx.xx.xx:3000" # You can set frame-src to provide content for your grafana panel. ``` using ```shell img-src * 'self' data: https:; ``` work ok! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
