YOURLS-QRCode-Plugin icon indicating copy to clipboard operation
YOURLS-QRCode-Plugin copied to clipboard

Google charts API not working

Open ontargetWeb opened this issue 9 months ago • 0 comments

Hi i used a work around as posted here https://groups.google.com/g/google-chart-api/c/XUwmDs1793Q?pli=1

           `if( yourls_is_shorturl( $keyword ) ) {
                    // Show the QR code then!
                    //header('Location: https://chart.apis.google.com/chart?chs=200x200&cht=qr&chld=M&chl='.YOURLS_SITE.'/'.$keyword);
                    header('Location: https://quickchart.io/chart?chs=200x200&cht=qr&chld=M&chl='.YOURLS_SITE.'/'.$keyword);
                    
                    exit;` 

ontargetWeb avatar Apr 29 '24 09:04 ontargetWeb