Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

fix(docs): version optimized demo assets

rpone942a2b1ddd54
diff --git a/docs/.vitepress/theme/components/demo-media.ts b/docs/.vitepress/theme/components/demo-media.ts
index 3b59ec11..5a77515a 100644
--- a/docs/.vitepress/theme/components/demo-media.ts
+++ b/docs/.vitepress/theme/components/demo-media.ts
@@ -5,11 +5,12 @@ export type DemoMediaManifest = {
type DemoMediaKind = "image" | "video";
+const demoMediaVersion = "20260805-compact";
const resolvedMedia = new Map<string, string>();
const preloadPromises = new Map<string, Promise<void>>();
export function publicAsset(relativePath: string) {
- return `${import.meta.env.BASE_URL}${relativePath.replace(/^\/+/, "")}`;
+ return `${import.meta.env.BASE_URL}${relativePath.replace(/^\/+/, "")}?v=${demoMediaVersion}`;
}
export function resolveDemoMedia(source: string) {