Papure/src/lib/components
agent 5d5d86c533 Fix imported PDFs not rendering in the Docker image
nginx has no MIME type for .mjs, so the pdf.js worker was served as
application/octet-stream and browsers refused to load it. Every imported
PDF page then showed "Source PDF ... is not available", which looked like
missing files. Serve .mjs as text/javascript.

The page background now also tells the two failures apart: "not stored on
this device" when the source bytes are missing, and "could not display"
(with the error logged) when pdf.js fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VsorPV3JeJRoZ1mD1pdvtL
2026-09-27 09:37:15 +00:00
..
App.svelte Init 2026-09-26 19:13:02 +02:00
CanvasView.svelte Keep finger pan/zoom working after using the pen 2026-09-26 20:09:53 +00:00
ContextMenu.svelte Init 2026-09-26 19:13:02 +02:00
download.ts Init 2026-09-26 19:13:02 +02:00
EmptyState.svelte Init 2026-09-26 19:13:02 +02:00
FileExplorer.svelte Init 2026-09-26 19:13:02 +02:00
FileTreeNode.svelte Init 2026-09-26 19:13:02 +02:00
InkLayer.svelte Init 2026-09-26 19:13:02 +02:00
MarkdownEditor.svelte Init 2026-09-26 19:13:02 +02:00
PageView.svelte Init 2026-09-26 19:13:02 +02:00
PdfBackground.svelte Fix imported PDFs not rendering in the Docker image 2026-09-27 09:37:15 +00:00
Ribbon.svelte Init 2026-09-26 19:13:02 +02:00
SearchPanel.svelte Init 2026-09-26 19:13:02 +02:00
SettingsModal.svelte Keep finger pan/zoom working after using the pen 2026-09-26 20:09:53 +00:00
Toasts.svelte Init 2026-09-26 19:13:02 +02:00
Toolbar.svelte Init 2026-09-26 19:13:02 +02:00