mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 13:57:21 +00:00
Add "www" to generated tag QR code (#7577)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
33cd9bf516
commit
a0e8d69243
@ -231,7 +231,7 @@ class DialogTagDetail extends LitElement
|
||||
private async _generateQR() {
|
||||
const qrcode = await import("qrcode");
|
||||
const canvas = await qrcode.toCanvas(
|
||||
`https://home-assistant.io/tag/${this._params?.entry?.id}`,
|
||||
`https://www.home-assistant.io/tag/${this._params!.entry!.id}`,
|
||||
{
|
||||
width: 180,
|
||||
errorCorrectionLevel: "Q",
|
||||
|
Loading…
x
Reference in New Issue
Block a user