diff --git a/frontend/src/plugins/link.ts b/frontend/src/plugins/link.ts index 940041d..00b91e2 100644 --- a/frontend/src/plugins/link.ts +++ b/frontend/src/plugins/link.ts @@ -140,10 +140,12 @@ export namespace LinkUtil { host: '', path: '', serviceName: '', + type: null, } switch (t.type){ case TrspTypes.HTTP: const th = t + params.type = 'http' params.host = th.host?.join(',')?? null params.path = th.path?? null break @@ -225,6 +227,7 @@ export namespace LinkUtil { host: tParams.host, id: u?.uuid, net: transport?.type?? 'tcp', + type: transport?.type == 'http' ? 'http' : undefined, path: tParams.path, port: inbound.listen_port, ps: inbound.tag,