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:
@@ -1187,7 +1187,7 @@ export default function VideoPage() {
|
||||
try {
|
||||
if (isMutatingRef.current) return;
|
||||
|
||||
const res = await fetch(`/api/projects/${projectId}/videos/${videoId}`);
|
||||
const res = await fetch(`/api/projects/${projectId}/videos/${videoId}`, { cache: 'no-store' });
|
||||
if (res.ok) {
|
||||
const data = await res.json();
|
||||
if (!isMutatingRef.current) {
|
||||
|
||||
Reference in New Issue
Block a user