Fix
This commit is contained in:
1 parent
40188b288f
commit
dc28b12c27
1 file changed
+1
-1
@@ -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