File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ services:
81
81
- SHELLHUB_PAYWALL=${SHELLHUB_PAYWALL}
82
82
- SHELLHUB_CONNECTOR=${SHELLHUB_CONNECTOR}
83
83
- SHELLHUB_TUNNELS=${SHELLHUB_TUNNELS}
84
+ - SHELLHUB_TUNNELS_DOMAIN=${SHELLHUB_TUNNELS_DOMAIN}
84
85
networks :
85
86
- shellhub
86
87
healthcheck :
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ const store = useStore();
76
76
const route = useRoute ();
77
77
const tunnelList = computed (() => store .getters [" tunnels/listTunnels" ]);
78
78
const deviceId = computed (() => route .params .id );
79
- const url = ref (window .location .host );
79
+ const url = ref (envVariables . tunnelsDomain || window .location .host );
80
80
const urlProtocol = ref (window .location .protocol );
81
81
82
82
const getTunnels = async () => {
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export const envVariables = {
19
19
isEnterprise : ( window . env || process . env ) . VUE_APP_SHELLHUB_ENTERPRISE === "true" ,
20
20
hasConnector : ( window . env || process . env ) . VUE_APP_SHELLHUB_CONNECTOR === "true" ,
21
21
hasTunnels : ( window . env || process . env ) . VUE_APP_SHELLHUB_TUNNELS === "true" ,
22
+ tunnelsDomain : ( window . env || process . env ) . VUE_APP_SHELLHUB_TUNNELS_DOMAIN ,
22
23
isCloud : ( window . env || process . env ) . VUE_APP_SHELLHUB_CLOUD === "true" ,
23
24
isCommunity : ( window . env || process . env ) . VUE_APP_SHELLHUB_CLOUD === "false" && ( window . env || process . env ) . VUE_APP_SHELLHUB_ENTERPRISE === "false" ,
24
25
premiumPaywall : ( window . env || process . env ) . VUE_APP_SHELLHUB_PAYWALL === "true" ,
You can’t perform that action at this time.
0 commit comments