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:
2026-08-29 20:17:37 +09:00
parent 3640591c46
commit 60bbe89edb
8 changed files with 63 additions and 140 deletions
+7 -1
View File
@@ -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;