Skip to content

Commit

Permalink
Remove hardcoding of localhost for custom variable
Browse files Browse the repository at this point in the history
  • Loading branch information
falloutphil committed Jan 26, 2020
1 parent 112382e commit 1e020c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anaconda-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ number position, column number position and file path."
(let ((url-request-method "POST")
(url-request-data (anaconda-mode-jsonrpc-request command)))
(url-retrieve
(format "http://localhost:%s" (anaconda-mode-port))
(format "http://%s:%s" (anaconda-mode-localhost-address) (anaconda-mode-port))
(anaconda-mode-create-response-handler callback)
nil
t)))
Expand Down

0 comments on commit 1e020c4

Please sign in to comment.