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:
parent
0e069ecdd7
commit
3076211b47
|
|
@ -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
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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`,
|
||||
},
|
||||
]
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue