feat: fix hdpos protocol

refactor/issue-1/first-setup
Frédérik Benoist 2023-12-19 18:35:44 +01:00
parent 04cb589401
commit dbb7be74fd
1 changed files with 6 additions and 1 deletions

View File

@ -24,7 +24,12 @@ onMounted(() => {
})
const openVnc = (ip: string) => {
const url = `${selectedProtocol.value}://${ip}`
let url = ''
if (selectedProtocol.value === 'hdpos')
url = `hdpos://tightvnc?ip=${ip}`
else
url = `${selectedProtocol.value}://${ip}`
window.open(url, '_blank')
}