This commit is contained in:
2026-06-14 20:44:11 +02:00
parent 40188b288f
commit dc28b12c27
+1 -1
View File
@@ -35,7 +35,7 @@ function getAppIconUrl(appUrl) {
if (!appUrl) return null;
try {
const icon = db.prepare(
`SELECT filename FROM app_icons ORDER BY updated_at DESC LIMIT 1`
`SELECT filename FROM app_icons WHERE name = 'logo-app' LIMIT 1`
).get();
return icon ? `${appUrl.replace(/\/$/, '')}/api/icons-files/${icon.filename}` : null;
} catch {