fix(B03): rerun analysis on reupload
Clear derived browser caches so B05 loads the newly generated route and section data.
This commit is contained in:
@@ -86,6 +86,7 @@ export async function createUploadSession(
|
||||
file: File,
|
||||
chunkSizeBytes: number,
|
||||
fingerprint?: string | null,
|
||||
completeUpload = false,
|
||||
): Promise<ChunkSessionCreateResponse> {
|
||||
const response = await fetch(`${API_BASE_URL}/projects/${projectId}/upload-sessions`, {
|
||||
method: "POST",
|
||||
@@ -96,6 +97,7 @@ export async function createUploadSession(
|
||||
size_bytes: file.size,
|
||||
chunk_size_bytes: chunkSizeBytes,
|
||||
fingerprint: fingerprint ?? null,
|
||||
complete_upload: completeUpload,
|
||||
}),
|
||||
});
|
||||
return await readJsonOrThrow<ChunkSessionCreateResponse>(response);
|
||||
|
||||
Reference in New Issue
Block a user