Skip to content

Deprecated Google ChartsΒ #40

@arshx86

Description

@arshx86

Google charts has deprecated a months ago, current google charts implementation are not working and getting 404 status. An implementation via node-qrcode would work without issues.

        const secret = twofactor.generateSecret({ name: 'urApp', account: user.username });
        var QRCode = require('qrcode');
        const totpurl = secret.uri;
        const qr = QRCode.toDataURL(totpurl, function (err, data_url) {
            res.json({ qr: data_url });
        });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions