📜  扩展报告 jenkins css 缺失 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:45.333000             🧑  作者: Mango

代码示例1
System.clearProperty("hudson.model.DirectoryBrowserSupport.CSP");

System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox allow-scripts; default-src 'self'; script-src * 'unsafe-eval'; img-src *; style-src * 'unsafe-inline'; font-src *");