bzp2010 commented on code in PR #2548:
URL: https://github.com/apache/apisix-dashboard/pull/2548#discussion_r936182632


##########
api/conf/conf.yaml:
##########
@@ -66,8 +66,7 @@ conf:
   #   access_control_allow_headers: "Authorization"
   #   access_control-allow_methods: "*"
   #   x_frame_options: "deny"
-  #   content_security_policy: ""default-src 'self'; script-src 'self' 
'unsafe-eval'; style-src 'self' 'unsafe-inline'""
-
+  #   content_security_policy: "default-src 'self'; script-src 'self' 
'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; frame-src 
xx.xx.xx.xx:3000"  # You can set frame-src to provide content for your grafana 
panel.

Review Comment:
   I think it's acceptable for now, and when we merge it to the `next` branch 
it will be modified according to the new format. 🤔



##########
api/conf/conf.yaml:
##########
@@ -66,8 +66,7 @@ conf:
   #   access_control_allow_headers: "Authorization"
   #   access_control-allow_methods: "*"
   #   x_frame_options: "deny"
-  #   content_security_policy: ""default-src 'self'; script-src 'self' 
'unsafe-eval'; style-src 'self' 'unsafe-inline'""
-
+  #   content_security_policy: "default-src 'self'; script-src 'self' 
'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; frame-src 
xx.xx.xx.xx:3000"  # You can set frame-src to provide content for your grafana 
panel.

Review Comment:
   I think it's acceptable for now, and when we merge it to the `next` branch 
it will be modified according to the new format. 🤔
   
   ping @SkyeYoung 



-- 
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]

Reply via email to