Skip to content

Commit

Permalink
Merge pull request #268 from grischard/patch-2
Browse files Browse the repository at this point in the history
Use 127.0.0.1 instead of localhost
  • Loading branch information
joto committed Oct 19, 2019
2 parents 9878b55 + df32434 commit c4fdeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/lib/utils.rb
Expand Up @@ -90,7 +90,7 @@ def xapi_link(element, key, value=nil)
end

def josm_link(element, key, value=nil)
'<span class="button">' + external_link('josm_button', 'JOSM', 'http://localhost:8111/import?url=' + Rack::Utils::escape(xapi_url(element, key, value)), true) + '</span>'
'<span class="button">' + external_link('josm_button', 'JOSM', 'http://127.0.0.1:8111/import?url=' + Rack::Utils::escape(xapi_url(element, key, value)), true) + '</span>'
end

def quote_double(text)
Expand Down

0 comments on commit c4fdeea

Please sign in to comment.