video.folx.tv Replit project
Modify the video share endpoint in routes.ts to retrieve video data from the cache using `storage.getVideos()` instead of making direct API calls with `findVideoByAnyId` and `storage.getVideo()`, which was causing 404 errors. This ensures that share links correctly resolve video details and metadata. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 401e2ec0-e00d-4f10-9d0e-60f3d479f9a5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 112fcbe4-f903-4480-927e-8bcf6e744878 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/401e2ec0-e00d-4f10-9d0e-60f3d479f9a5/Ufka13F |
||
|---|---|---|
| attached_assets | ||
| client | ||
| server | ||
| shared | ||
| .gitignore | ||
| .replit | ||
| components.json | ||
| cookies.txt | ||
| drizzle.config.ts | ||
| go4-video-social-share.png | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| pyproject.toml | ||
| replit.md | ||
| tailwind.config.ts | ||
| temp_logo.jpg | ||
| tsconfig.json | ||
| uv.lock | ||
| vite.config.ts | ||