We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dfd2f6 commit 3c5f17dCopy full SHA for 3c5f17d
src/client/views/pages/detail.ejs
@@ -548,7 +548,7 @@
548
const fileUrl = `/api/file/preview/${encodeURIComponent(filename)}`;
549
const imageUrl = `/api/image/${encodeURIComponent(filename)}`;
550
551
- document.getElementById('direct-url').value = fileUrl;
+ document.getElementById('direct-url').value = `${baseUrl}${fileUrl}`;
552
553
// HTML and Markdown embeds
554
const htmlRow = document.getElementById('html-embed-row');
0 commit comments