add_header Content-Security-Policy "default-src https: 'self'; script-src 'self'; style-src 'self';
and removing the 'unsafe-inline' it fails with :-
DomSharedStylesHost.prototype._addStylesToHost = function (styles, host) {
var _this = this;
styles.forEach(function (style) {
var styleEl = _this._doc.createElement('style');
styleEl.textContent = style;
_this._styleNodes.add(host.appendChild(styleEl));
});
};
any solution how to fix it or this is the issue with angular 8?
--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angular/CAP5ujUAzU0B8S1JYCUOTCaEgv%3Dm0YSMGGi-pqyGmkaqZoaM67g%40mail.gmail.com.