X-Git-Url: https://git.r.bdr.sh/rbdr/grita/blobdiff_plain/b316fed18eb47c27fcdbf8e2da4b248a6e00ce37..8aee5d71386821b34a2ff7df28e610fe04037c09:/grita.rb diff --git a/grita.rb b/grita.rb index 180fe19..cefcc90 100644 --- a/grita.rb +++ b/grita.rb @@ -27,7 +27,7 @@ get '/qr/:grito.png' do rpr_filepath = tmpfile.path + '.png' RQR::QRCode.create do |qr| - qr.save('http://#{request.host}/'+params[:grito], rpr_filepath) + qr.save("http://#{request.host}/"+params[:grito], rpr_filepath) end buffer = File.open(rpr_filepath).read