Answers for "electron js refused to execute inline script because it violates the following content security policy"

2

react Refused to execute inline script because it violates the following Content Security Policy directive

If you are using React:

create a .env file in project root

Add variable as follows: INLINE_RUNTIME_CHUNK=false

Build the project again and load the extension again.
Posted by: Guest on September-12-2020

Code answers related to "electron js refused to execute inline script because it violates the following content security policy"

Browse Popular Code Answers by Language