diff --git a/apps/red-ui/src/app/modules/pdf-viewer/services/pdf-viewer.service.ts b/apps/red-ui/src/app/modules/pdf-viewer/services/pdf-viewer.service.ts index cf68ffbf3..baec0d39b 100644 --- a/apps/red-ui/src/app/modules/pdf-viewer/services/pdf-viewer.service.ts +++ b/apps/red-ui/src/app/modules/pdf-viewer/services/pdf-viewer.service.ts @@ -13,7 +13,6 @@ import { asList } from '../utils/functions'; import { TranslateService } from '@ngx-translate/core'; import { LicenseService } from '@services/license.service'; import { UserPreferenceService } from '@users/user-preference.service'; -import { environment } from '@environments/environment'; import TextTool = Core.Tools.TextTool; import Annotation = Core.Annotations.Annotation; import TextHighlightAnnotation = Core.Annotations.TextHighlightAnnotation; @@ -150,9 +149,9 @@ export class PdfViewer { async init(htmlElement: HTMLElement) { this.#instance = await this.#getInstance(htmlElement); - if (environment.production) { - this.#instance.Core.setCustomFontURL('https://' + window.location.host + this._convertPath('/assets/pdftron')); - } + // if (environment.production) { + // this.#instance.Core.setCustomFontURL('http://' + window.location.host + this._convertPath('/assets/pdftron')); + // } try { await this.PDFNet.initialize(this._licenseService.activeLicenseKey); diff --git a/package.json b/package.json index 69b7b0b2c..0677e15ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "redaction", - "version": "3.988.67", + "version": "3.988.68", "private": true, "license": "MIT", "scripts": {