diff --git a/src/templates/pages/VideoResponse.tsx b/src/templates/pages/VideoResponse.tsx index e1571da..f587ba6 100644 --- a/src/templates/pages/VideoResponse.tsx +++ b/src/templates/pages/VideoResponse.tsx @@ -40,7 +40,7 @@ export function VideoResponse(data: AwemeList): JSX.Element { }, { name: `og:${data.video.duration !== 0 ? 'video' : 'image'}`, - content: `https://tnktok.com/generate/${data.video.duration !== 0 ? 'video' : 'image'}/` + data.aweme_id + content: `https://fxtiktok-rewrite.dargy.workers.dev/generate/${data.video.duration !== 0 ? 'video' : 'image'}/` + data.aweme_id }, { name: 'og:type', diff --git a/src/util/ResponseHelper.ts b/src/util/ResponseHelper.ts index 1eb5f19..3b5cc6b 100644 --- a/src/util/ResponseHelper.ts +++ b/src/util/ResponseHelper.ts @@ -15,7 +15,7 @@ export const returnDirectResponse = (videoInfo: AwemeList): HandlerResponse