diff --git a/.replit b/.replit index 0801e05..10701d4 100644 --- a/.replit +++ b/.replit @@ -16,7 +16,7 @@ localPort = 5000 externalPort = 80 [[ports]] -localPort = 40997 +localPort = 33233 externalPort = 3000 [env] diff --git a/server/routes.ts b/server/routes.ts index c53a568..d93cbb1 100644 --- a/server/routes.ts +++ b/server/routes.ts @@ -30,7 +30,7 @@ export async function findVideoByAnyId(id: string) { // If it's an 8-character short ID, find by short ID if (id.length === 8) { - const allVideos = await storage.getVideos(200, 0); + const allVideos = await storage.getVideos(600, 0); return allVideos.find(v => v.id.replace(/-/g, '').substring(0, 8) === id); }