Restored to '44d6f571a5a2b8bce0fd4e8a9eae76204284885b'
Replit-Restored-To: 44d6f571a5
This commit is contained in:
@@ -41,13 +41,6 @@ app.use((req, res, next) => {
|
||||
// Initialize video sync service for automatic Bunny.net updates
|
||||
await videoSyncService.initialize();
|
||||
|
||||
// Initialize video metadata migrator with periodic sync
|
||||
const { videoMigrator } = await import('./videoMigrator');
|
||||
console.log("🔄 Initializing video metadata system...");
|
||||
videoMigrator.initialize().catch(error => {
|
||||
console.error("❌ Video metadata initialization failed:", error);
|
||||
});
|
||||
|
||||
const server = await registerRoutes(app);
|
||||
|
||||
app.use((err: any, _req: Request, res: Response, _next: NextFunction) => {
|
||||
|
||||
Reference in New Issue
Block a user