typo
This commit is contained in:
parent
2076d8fe35
commit
2d133a4d2d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ require 'net/http'
|
|||
require 'uri'
|
||||
|
||||
Client.register_command("kotki") { |args|
|
||||
url = URL.parse(Config[:commands][:kotki][:url])
|
||||
url = URI.parse(Config[:commands][:kotki][:url])
|
||||
|
||||
req = Net::HTTP::Get.new(url.path)
|
||||
response = Net::HTTP.start(url.host, url.port) { |http| http.request(req) }
|
||||
|
|
Loading…
Reference in a new issue