mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
refactor: Update fetch requests to disable caching for video data retrieval
This commit is contained in:
@@ -63,7 +63,7 @@ export async function GET(request: NextRequest, { params }: RouteParams) {
|
||||
isAuthenticated: !!session?.user?.id,
|
||||
});
|
||||
|
||||
return withCacheControl(response, 'private, max-age=30, stale-while-revalidate=60');
|
||||
return withCacheControl(response, 'private, no-cache');
|
||||
} catch (error) {
|
||||
console.error('Error fetching video:', error);
|
||||
return apiErrors.internalError('Failed to fetch video');
|
||||
|
||||
Reference in New Issue
Block a user