feat: Loon 排除 XTLS; 切换使用 esbuild 打包

This commit is contained in:
xream
2025-01-13 16:02:45 +08:00
parent 87597f6fc2
commit e325b9a39a
3 changed files with 13 additions and 12 deletions

View File

@@ -350,8 +350,8 @@ function vmess(proxy) {
}
function vless(proxy) {
if (proxy['reality-opts']) {
throw new Error(`VLESS REALITY is unsupported`);
if (typeof proxy.flow !== 'undefined' || proxy['reality-opts']) {
throw new Error(`VLESS XTLS/REALITY is not supported`);
}
const result = new Result(proxy);
result.append(