hotfix (string interpolation)
This commit is contained in:
Binary file not shown.
@@ -1827,7 +1827,7 @@ app.get(`${basePath}/dashboard`, requireAuthPage, async (req, res) => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// Try to write rich text (HTML link) + plain text fallback
|
// 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 blobHtml = new Blob([html], { type: 'text/html' });
|
||||||
const blobText = new Blob([url], { type: 'text/plain' });
|
const blobText = new Blob([url], { type: 'text/plain' });
|
||||||
const data = [new ClipboardItem({
|
const data = [new ClipboardItem({
|
||||||
|
|||||||
Reference in New Issue
Block a user