fix(ui): companion QR absolute 146 URL + Dashboard swipe type guard
- Companion app QR encoded a relative path (/packages/...apk.zip) which can't resolve when scanned by a phone. Point it at the absolute 146 release-server URL so the download works from any device. - Dashboard tab-swipe: guard tabs[next] (noUncheckedIndexedAccess) so the frontend type-checks/builds. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
837cc02812
commit
0ac67f5092
@@ -79,7 +79,10 @@ import { ref, onMounted, watch } from 'vue'
|
||||
import * as QRCode from 'qrcode'
|
||||
|
||||
const STORAGE_KEY = 'neode_companion_intro_seen'
|
||||
const DEFAULT_DOWNLOAD_URL = '/packages/archipelago-companion.apk.zip'
|
||||
// Absolute URL so the QR works when scanned by a phone (a relative path has no
|
||||
// host to resolve). Points at the companion APK hosted on the 146 release server
|
||||
// (publicly reachable) rather than the local node's /packages copy.
|
||||
const DEFAULT_DOWNLOAD_URL = 'http://146.59.87.168:3000/lfg2025/archy/raw/branch/main/neode-ui/public/packages/archipelago-companion.apk.zip'
|
||||
|
||||
const visible = ref(false)
|
||||
const qrDataUrl = ref('')
|
||||
|
||||
Reference in New Issue
Block a user