vue-unity-webgl icon indicating copy to clipboard operation
vue-unity-webgl copied to clipboard

Error Security Policy

Open Kuseraga-git opened this issue 5 years ago • 0 comments

Hi I'd like to use this solution in my app but when i setup my vue Unity Webgl i got this error :

"Refused to load the script 'blob:http://127.0.0.1:8000' because it violates the following Content Security Policy directive: "script-src * 'unsafe-inline' 'unsafe-eval'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback."

I tried to add some other policy but i'm totally lost with it, do you have some tips to help me with my problem ?

Actually i got this security policy : meta http-equiv="Content-Security-Policy" content="default-src * gap: file:; child-src * 'self' blob: http: ;style-src 'self' 'unsafe-inline'; img-src 'self' data: ; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'self' ws: ;media-src *; frame-src *;"

Kuseraga-git avatar Feb 28 '19 08:02 Kuseraga-git