mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-23 05:33:07 +05:30
Validate override for crystal 1.12.1
This commit is contained in:
parent
ccb2a6c58e
commit
6b7e730100
@ -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