new: add warp option (experimental)

This commit is contained in:
Hiddify
2024-01-25 20:00:25 +01:00
parent 3eae205a35
commit 3e0ac66055
2 changed files with 3 additions and 2 deletions

View File

@@ -57,7 +57,8 @@ abstract class LinkParser {
'hy' || 'hysteria' => fragment ?? ProxyType.hysteria.label,
'ssh' => fragment ?? ProxyType.ssh.label,
'wg' => fragment ?? ProxyType.wireguard.label,
_ => null,
'warp'=>fragment ?? ProxyType.warp.label,
_ => ProxyType.unknown.label,
};
if (name != null) {
return (content: content, name: name);