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:
@@ -110,7 +110,13 @@ export async function uploadOneFile(
|
||||
const fingerprint = state.uploadSessionId ? null : await fileFingerprint(file);
|
||||
let session = state.uploadSessionId;
|
||||
if (!session) {
|
||||
const created = await createUploadSession(projectId, file, chunkSizeBytes, fingerprint);
|
||||
const created = await createUploadSession(
|
||||
projectId,
|
||||
file,
|
||||
chunkSizeBytes,
|
||||
fingerprint,
|
||||
completeUpload,
|
||||
);
|
||||
if (created.already_uploaded) {
|
||||
state.progressBytes = file.size;
|
||||
state.etaSeconds = 0;
|
||||
|
||||
Reference in New Issue
Block a user