use 80/443 as ws/wss default port (#1700)

This commit is contained in:
狂男风
2026-01-01 01:31:38 +08:00
committed by GitHub
parent 4e651a72f7
commit 88a45d1156
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -207,8 +207,8 @@ fn default_port(scheme: &str) -> Option<u16> {
match scheme {
"tcp" => Some(11010),
"udp" => Some(11010),
"ws" => Some(11011),
"wss" => Some(11012),
"ws" => Some(80),
"wss" => Some(443),
"faketcp" => Some(11013),
"quic" => Some(11012),
"wg" => Some(11011),