X-Git-Url: https://git.r.bdr.sh/rbdr/grita/blobdiff_plain/dd8a375b20d10bb986d4b143f1cf923aec7d6b6e..refs/heads/main:/views/grito.haml?ds=sidebyside diff --git a/views/grito.haml b/views/grito.haml index 5fac1c0..22cfc9b 100644 --- a/views/grito.haml +++ b/views/grito.haml @@ -2,6 +2,6 @@ = @markdown.to_html %hr #sharing - %input.url{:value => "http://grita.heroku.com/#{@grito.gethash}", :readonly=>true} + %input.url{:value => "http://#{request.host}/#{@grito.gethash}", :readonly=>true} %br %img#qrcode{:alt=>"Código QR", :src=>"/qr/#{@grito.gethash}.png"} \ No newline at end of file