mirror of
https://github.com/flutter/holobooth.git
synced 2025-08-24 07:01:02 +08:00
fix: thumb on share page (#434)
This commit is contained in:
@ -114,6 +114,7 @@ function renderSharePage(videoFileName: string, baseUrl: string): string {
|
||||
appUrl: baseUrl,
|
||||
shareUrl: `${baseUrl}/share/${videoFileName}`,
|
||||
shareVideoUrl: bucketPathForFile(`${UPLOAD_PATH}/${videoFileName}`),
|
||||
thumbImageUrl: bucketPathForFile(`${UPLOAD_PATH}/${videoFileName.replace('mp4', 'png')}`),
|
||||
});
|
||||
return renderTemplate(shareTmpl, context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user