mirror of
https://github.com/unraid/api.git
synced 2026-01-04 07:29:48 -06:00
chore: pure ESM (#1202)
This commit is contained in:
@@ -19,8 +19,7 @@ const origins = computed<string[]>(() => {
|
||||
try {
|
||||
const newUrl = new URL(origin.trim());
|
||||
newOrigins.push(newUrl.toString());
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (e) {
|
||||
} catch {
|
||||
errors.value.push(`Invalid origin: ${origin}`);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user