Fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user