mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Validate override for crystal 1.12.1
This commit is contained in:
parent
ccb2a6c58e
commit
6b7e730100
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue