mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-02 23:36:17 +00:00
Push
This commit is contained in:
@@ -9,6 +9,13 @@ const props = defineProps([
|
||||
const emits = defineEmits([
|
||||
'back'
|
||||
])
|
||||
|
||||
const amneziaVPN = computed(() => {
|
||||
if (props.qrcodeData.amneziaVPN){
|
||||
return btoa(props.qrcodeData.amneziaVPN)
|
||||
}
|
||||
return undefined
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -26,8 +33,8 @@ const emits = defineEmits([
|
||||
Scan with {{ protocol === "wg" ? 'WireGuard':'AmneziaWG'}} App
|
||||
</small>
|
||||
|
||||
<div v-if="props.qrcodeData.amneziaVPN" class="d-flex flex-column gap-2 align-items-center">
|
||||
<Qrcode :content="btoa(props.qrcodeData.amneziaVPN)"></Qrcode>
|
||||
<div v-if="amneziaVPN" class="d-flex flex-column gap-2 align-items-center">
|
||||
<Qrcode :content="amneziaVPN"></Qrcode>
|
||||
<small>
|
||||
Scan with AmneziaVPN App
|
||||
</small>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -28,8 +28,8 @@
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script type="module" crossorigin src="/static/dist/WGDashboardClient/assets/index-Bmidokv4.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/static/dist/WGDashboardClient/assets/index-B-VlJEhq.css">
|
||||
<script type="module" crossorigin src="/static/dist/WGDashboardClient/assets/index-BCXJox7M.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/static/dist/WGDashboardClient/assets/index-os7OmO6p.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
|
Reference in New Issue
Block a user