richtext replacement
This commit is contained in:
@@ -4,15 +4,7 @@ import { NextRequest, NextResponse } from 'next/server';
|
||||
export const maxDuration = 900; // 15 minutes (900 seconds)
|
||||
|
||||
// Import progress tracking helper
|
||||
async function sendProgressUpdate(sessionId: string, update: any) {
|
||||
try {
|
||||
// Dynamic import to avoid circular dependency
|
||||
const { sendProgressUpdate: sendUpdate } = await import('./progress/route');
|
||||
sendUpdate(sessionId, update);
|
||||
} catch (error) {
|
||||
console.warn('Failed to send progress update:', error);
|
||||
}
|
||||
}
|
||||
import { sendProgressUpdate } from '../../../lib/progress';
|
||||
|
||||
interface BulkImportRequest {
|
||||
urls: string[];
|
||||
|
||||
Reference in New Issue
Block a user