From bd5c7458dd9188ed659496ca1363585145f33fb2 Mon Sep 17 00:00:00 2001 From: puuu Date: Tue, 11 May 2021 17:25:50 +0900 Subject: [PATCH] make all links relative --- src-ui/src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-ui/src/app/app.component.ts b/src-ui/src/app/app.component.ts index 836a6f66a..2b828d3b0 100644 --- a/src-ui/src/app/app.component.ts +++ b/src-ui/src/app/app.component.ts @@ -18,7 +18,7 @@ export class AppComponent implements OnInit, OnDestroy { constructor (private settings: SettingsService, private consumerStatusService: ConsumerStatusService, private toastService: ToastService, private router: Router) { let anyWindow = (window as any) - anyWindow.pdfWorkerSrc = '/assets/js/pdf.worker.min.js'; + anyWindow.pdfWorkerSrc = 'assets/js/pdf.worker.min.js'; this.settings.updateDarkModeSettings() }