This commit is contained in:
tresabhi committed 2026-05-15 22:53:43 -05:00
1 parent a834d48a38
commit 0e637d772e
1 file changed
+1 -7
+1 -7
View File
@@ -366,12 +366,6 @@ export class ServerAPI extends AbstractAPI {
metroResources.remote_storage!.remote_urls,
);
const iconPathHack = stuffUI.icon.replace("\n", "");
if (!stuffUI.icon.includes("\n")) {
throw new Error("Icon path doesn't include newline, can't apply hack");
}
return `${remoteStorage.url}${remoteStorage.relative_path}${iconPathHack}`;
return `${remoteStorage.url}${remoteStorage.relative_path}${stuffUI.icon!.value}`;
}
}