~rbdr/grita

c194753dd738f88ce42442dc1510ac29980893e7 — Ben Beltran 12 years ago 5e4e016
Adds variable domain name.
1 files changed, 1 insertions(+), 1 deletions(-)

M grita.rb
M grita.rb => grita.rb +1 -1
@@ 28,7 28,7 @@ get '/qr/:grito.png' do
   rpr_filepath = tmpfile.path + '.png'

   RQR::QRCode.create do |qr|
     qr.save('http://grita.heroku.com/'+params[:grito], rpr_filepath)
     qr.save('http://#{request.host}/'+params[:grito], rpr_filepath)
   end

   buffer = File.open(rpr_filepath).read