m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 01:23:39 -05:00

Update API and improve CLI output

This commit is contained in:
Sergio
2025-02-14 18:28:18 +02:00
parent 2262df0355
commit 6ae95bf83b
6 changed files with 163 additions and 31 deletions

View File

@@ -36,7 +36,7 @@ export default function Image({ data }: { data: Image }) {
};
const new_reference =
data.result.info?.type == "version"
? data.reference.split(":")[0] + ":" + data.result.info.new_version
? data.reference.split(":")[0] + ":" + data.result.info.new_tag
: data.reference;
let url: string | null = null;
if (clickable_registries.includes(data.parts.registry)) {