Correct host value
This commit is contained in:
parent
e414debf33
commit
24c5273e33
@ -12,7 +12,7 @@
|
||||
(not (nil? v)))
|
||||
|
||||
(defn get-host [url]
|
||||
(.getHost (new URL)))
|
||||
(.getHost (URL. url)))
|
||||
|
||||
(defn new-page [uri]
|
||||
(-> uri
|
||||
|
Loading…
Reference in New Issue
Block a user