Skip to content

Commit 3406067

Browse files
#5376 - fix hostname for deep link
1 parent 3b3a0ef commit 3406067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/ui/src/components/global-url-handler/GlobalUrlHandler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const GlobalUrlHandler = () => {
122122

123123
const db = {
124124
...obligatoryForAutoConnectFields,
125-
name: databaseAlias || url.host,
125+
name: databaseAlias || url.hostname || url.host,
126126
} as any
127127

128128
if (isAllObligatoryProvided && !isTlsProvided) {

0 commit comments

Comments
 (0)