mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-03 19:12:41 +00:00
Revert "Update to use dedent in the same manner as other snippets"
This reverts commit b24c3527ca.
This commit is contained in:
@@ -53,10 +53,10 @@ module.exports = [
|
|||||||
name : 'QR Code',
|
name : 'QR Code',
|
||||||
icon : 'fas fa-qrcode',
|
icon : 'fas fa-qrcode',
|
||||||
gen : (brew)=>{
|
gen : (brew)=>{
|
||||||
return dedent`![]
|
return `![]` +
|
||||||
(https://api.qrserver.com/v1/create-qr-code/?data=
|
`(https://api.qrserver.com/v1/create-qr-code/?data=` +
|
||||||
https://homebrewery.naturalcrit.com${brew.shareId ? `/share/${brew.shareId}` : ''}
|
`https://homebrewery.naturalcrit.com` + `${brew.shareId ? `/share/${brew.shareId}` : ''}` +
|
||||||
&size=100x100) {width:100px;mix-blend-mode:multiply}`;
|
`&size=100x100) {width:100px;mix-blend-mode:multiply}`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user