Can anybody explain how to use WebAppInternals.registerBoilerplateDataCallback()
?
I need to change the Content Security Policy that meteor set by default.
Can anybody explain how to use WebAppInternals.registerBoilerplateDataCallback()
?
I need to change the Content Security Policy that meteor set by default.
The best way to change the CSP is with the browser-policy
package:
Specifically the BrowserPolicy.content.*
methods
Thanks. Will try this later today
Too bad it doesn’t work for cordova. Meteor has a boilerplate template in cordova that assigns a fix CSP it seems.