fix: correct Apple App Store metadata formatting and add missing import

- Updated the content format for the Apple App Store metadata in the feeds metadata file.
- Added the import statement for APPLE_APP_STORE_ID in the lists metadata file to ensure proper functionality.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei 2025-04-30 22:41:24 +08:00
parent 0e069ecdd7
commit 3076211b47
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
2 changed files with 8 additions and 1 deletions

View File

@ -33,7 +33,7 @@ const meta = defineMetadata(async ({ params, apiClient, origin, throwError }) =>
{
type: "meta",
property: "apple-itunes-app",
content: `app-id=${APPLE_APP_STORE_ID}, app-argument:follow://add?id=${feedId}&type=feed`,
content: `app-id=${APPLE_APP_STORE_ID}, app-argument=follow://add?id=${feedId}&type=feed`,
},
] as const
})

View File

@ -1,3 +1,5 @@
import { APPLE_APP_STORE_ID } from "@follow/constants"
import { defineMetadata } from "~/meta-handler"
export default defineMetadata(async ({ params, apiClient, origin, throwError }) => {
@ -24,5 +26,10 @@ export default defineMetadata(async ({ params, apiClient, origin, throwError })
path: apiClient.lists.$url({ query: { listId } }).pathname,
key: `lists.$get,query:listId=${listId}`,
},
{
type: "meta",
property: "apple-itunes-app",
content: `app-id=${APPLE_APP_STORE_ID}, app-argument=follow://add?id=${listId}&type=list`,
},
]
})