發現這個metabase真的是很神奇,從github上原封不動download的代碼,push到gitlab上,然后再從gitlab上clone下來想在本地執行,始終是沒辦法執行,比對了代碼也是一模一樣的。
報的錯是:Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://maps.google.com https://apis.google.com https://www.google-analytics.com https://*.googleapis.com *.gstatic.com localhost:8080 'sha256-JQDbp3Mhu24XN1+s9uU0HkmkcixHffMicidPncBvl44=' 'sha256-th95qRHdfM3L4RZBzA4kCzxGwFYlM995AM5Jk99o8lI=' 'sha256-9BXohtg6TyBdzvQQ5FFJDMsrtNBx3p29yA8VDrZuug0='". Either the 'unsafe-inline' keyword, a hash ('sha256-lMAh4yjVuDkQ9NqkK4H+YHUga+anpFs5JAuj/uZh0Rs='), or a nonce ('nonce-...') is required to enable inline execution.
uj5u.com熱心網友回復:
求大神指點。轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/123071.html
標籤:HTML(CSS)
上一篇:Java NIO與Netty
