hotfix (string interpolation)

This commit is contained in:
Ludwig Lehnert
2026-01-29 20:19:24 +01:00
parent faf21d54d1
commit 1f3f791aa0
2 changed files with 1 additions and 1 deletions

View File

@@ -1827,7 +1827,7 @@ app.get(`${basePath}/dashboard`, requireAuthPage, async (req, res) => {
try {
// Try to write rich text (HTML link) + plain text fallback
const html = `<a href="${url}">${name}</a>`;
const html = \`<a href="\${url}">\${name}</a>\`;
const blobHtml = new Blob([html], { type: 'text/html' });
const blobText = new Blob([url], { type: 'text/plain' });
const data = [new ClipboardItem({