From 68f54b341b5bc25029011b95e0f9ad2372e4eef1 Mon Sep 17 00:00:00 2001 From: CenTdemeern1 Date: Tue, 11 Feb 2025 23:08:20 +0100 Subject: [PATCH] This is no longer necessary with LSV1 --- static/crossroad.mts | 1 - 1 file changed, 1 deletion(-) diff --git a/static/crossroad.mts b/static/crossroad.mts index 067d956..234d215 100644 --- a/static/crossroad.mts +++ b/static/crossroad.mts @@ -127,7 +127,6 @@ function autoRedirect(): boolean { function setAutoRedirect(option: string) { const instance = storageManager.storage.instances.find(e => e.origin === option); if (!instance) throw new Error("Invalid argument"); - instance.preferredFor ??= []; instance.preferredFor.push(getTargetSoftwareOrGroup()); storageManager.save(); }