fix: add missing country code to PDF URL path in crimescene.js
This commit is contained in:
parent
9314c1fd8a
commit
f1e58f132f
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@
|
||||||
const doc = findDocument(col, docId);
|
const doc = findDocument(col, docId);
|
||||||
if (!doc) return renderNotFound('Document not found');
|
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 = '';
|
let html = '';
|
||||||
html += `<div class="prop-classification">CASE FILE // ${esc(doc.title).toUpperCase()}</div>`;
|
html += `<div class="prop-classification">CASE FILE // ${esc(doc.title).toUpperCase()}</div>`;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue