security: replace src

This commit is contained in:
Xylight committed 2025-11-20 18:28:33 -08:00
1 parent 7c322310e9
commit 385a7dbc40
7 files changed
+22 -15

No files matched your search

+3 -1
View File
@@ -60,7 +60,9 @@
})
async function checkInstance() {
const type = await BaseClient.fetchInfo(instanceToURL(form.instance))
const type = await BaseClient.fetchInfo(
new URL(instanceToURL(form.instance)),
)
if (type == null) throw Error('not_live_supported')
form.client = type?.type
}
+3 -1
View File
@@ -39,7 +39,9 @@
})
async function checkInstance() {
const type = await BaseClient.fetchInfo(instanceToURL(form.instance))
const type = await BaseClient.fetchInfo(
new URL(instanceToURL(form.instance)),
)
if (type == null) throw Error('not_live_supported')
form.client = type?.type
}