feat: add exe.dev provider logo

This commit is contained in:
Bohdan Triapitsyn
2026-09-03 11:49:34 +03:00
parent 29ca970362
commit 62a18f07a0
3 changed files with 22 additions and 1 deletions
+2 -1
View File
@@ -45,7 +45,8 @@ const buildLogoCandidates = (providerId: string | null | undefined) => {
const compact = normalized.replace(/[^a-z0-9_\-./:]/g, '');
const primary = compact.split(/[/:]/)[0] || compact;
const candidates = [LOGO_ALIAS.get(compact), LOGO_ALIAS.get(primary), compact, primary]
const prefixAlias = compact.startsWith('exe-') ? 'exe-dev' : undefined;
const candidates = [prefixAlias, LOGO_ALIAS.get(compact), LOGO_ALIAS.get(primary), compact, primary]
.filter((value): value is string => Boolean(value && value.length > 0));
return [...new Set(candidates)];