mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
fix: remove unstable check for Deno.listenTls#alpnProtocols (#19732)
This commit is contained in:
parent
de630b9b78
commit
106e1bd90e
1 changed files with 0 additions and 1 deletions
|
@ -1057,7 +1057,6 @@ where
|
|||
.with_single_cert(cert_chain, key_der)
|
||||
.expect("invalid key or certificate");
|
||||
if let Some(alpn_protocols) = args.alpn_protocols {
|
||||
super::check_unstable(state, "Deno.listenTls#alpn_protocols");
|
||||
tls_config.alpn_protocols =
|
||||
alpn_protocols.into_iter().map(|s| s.into_bytes()).collect();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue