fix: show actual environment name for 'other' category
- Add rawEnvironment field to preserve extracted environment name - Display rawEnvironment (e.g., 'timeshift') instead of 'other' in badge Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,7 @@ export async function GET(request: Request) {
|
||||
name: apk.name,
|
||||
size: apk.size,
|
||||
environment: parsed.environment,
|
||||
rawEnvironment: parsed.rawEnvironment,
|
||||
commit: parsed.commit,
|
||||
modifiedAt: apk.modifiedAt.toISOString(),
|
||||
downloadUrl: `/api/download?project=${encodeURIComponent(project)}&version=${encodeURIComponent(version)}&filename=${encodeURIComponent(apk.name)}`,
|
||||
|
||||
Reference in New Issue
Block a user