Angular Universal document is not defined
Closed this issue · 1 comments
danduh commented
While trying to run with angular universal (SSR) getting the following error:
ReferenceError: document is not defined
at new LogglyService
Related to
this.LOGGLY_INPUT_PREFIX = 'http' + (('https:' === document.location.protocol ? 's' : '')) + '://';
Angular universal don't like 'document' object