Hello,
Say I have several script tags within my head tag. How would I allow those scripts to run without being rejected by the browser-policy package?
Hello,
Say I have several script tags within my head tag. How would I allow those scripts to run without being rejected by the browser-policy package?
It may be useful to know what error you are getting. Did you try BrowserPolicy.content.allowInlineScripts("http://localhost:3000");
Never Mind, I got it to work. Instead of putting BrowserPolicy.content.allowInlineScripts("'http://*.localhost:3000")
, I ended up putting BrowserPolicy.content.allowInlineScripts("'self'")
because in the error I received, it said that is was preventing a script tag from ‘self’ from running.