mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-06-28 09:58:25 +00:00
Validate override for crystal 1.12.1
This commit is contained in:
parent
505b0a13c1
commit
201d9ab743
@ -20,7 +20,7 @@ class HTTP::Client
|
|||||||
|
|
||||||
# Override stdlib to automatically initialize proxy if configured
|
# Override stdlib to automatically initialize proxy if configured
|
||||||
#
|
#
|
||||||
# Accurate as of crystal 1.10.1
|
# Accurate as of crystal 1.12.1
|
||||||
|
|
||||||
def initialize(@host : String, port = nil, tls : TLSContext = nil)
|
def initialize(@host : String, port = nil, tls : TLSContext = nil)
|
||||||
check_host_only(@host)
|
check_host_only(@host)
|
||||||
|
Loading…
Reference in New Issue
Block a user