Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix: remove unnecessary cMapUrl and cMapPacked options from PDF loading

Smaug6739649fdb522a1f
diff --git a/frontend/app/components/PDFViewer.vue b/frontend/app/components/PDFViewer.vue
index 18a241d8..e3dff632 100644
--- a/frontend/app/components/PDFViewer.vue
+++ b/frontend/app/components/PDFViewer.vue
@@ -199,8 +199,6 @@ const loadPdf = async () => {
try {
const loadingTask = getDocument({
url: props.src,
- cMapUrl: 'https://unpkg.com/pdfjs-dist@latest/cmaps/',
- cMapPacked: true,
});
pdf = await loadingTask.promise;