fix: add missing country code to PDF URL path in crimescene.js

This commit is contained in:
jae 2026-04-15 21:28:31 +00:00
parent 9314c1fd8a
commit f1e58f132f

View file

@ -318,7 +318,7 @@
const doc = findDocument(col, docId);
if (!doc) return renderNotFound('Document not found');
const pdfUrl = `${PDF_BASE}/${catId}/${colId}/${doc.filename}`;
const pdfUrl = `${PDF_BASE}/${catId}/${countryCode}/${colId}/${doc.filename}`;
let html = '';
html += `<div class="prop-classification">CASE FILE // ${esc(doc.title).toUpperCase()}</div>`;