Skip to content

Commit 1d478a0

Browse files
henrybarretogustavosbarreto
authored andcommitted
feature(ui): use tunnel address without url
1 parent ed34e5e commit 1d478a0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ui/src/components/Tunnels/TunnelList.vue

+2-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
>
2323
<td class="text-center" data-test="device-tunnel-url">
2424
<a
25-
:href="`${urlProtocol}//${tunnel.address}.${url}`"
25+
:href="`${urlProtocol}//${tunnel.address}`"
2626
target="_blank"
2727
rel="noopener noreferrer"
2828
:data-test="`device-tunnel-link-${i}`"
2929
@click="handleTunnelLinkClick"
3030
>
31-
{{ `${urlProtocol}//${tunnel.address}.${url}` }}
31+
{{ `${urlProtocol}//${tunnel.address}` }}
3232
</a>
3333
</td>
3434

@@ -76,7 +76,6 @@ const store = useStore();
7676
const route = useRoute();
7777
const tunnelList = computed(() => store.getters["tunnels/listTunnels"]);
7878
const deviceId = computed(() => route.params.id);
79-
const url = ref(envVariables.tunnelsDomain || window.location.host);
8079
const urlProtocol = ref(window.location.protocol);
8180
8281
const getTunnels = async () => {

0 commit comments

Comments
 (0)