Frontend created and rewritten a few times, with some backend fixes #1
|
@ -71,6 +71,7 @@ async function uploadFileChangeHandler(event: Event) {
|
||||||
const end = Math.min(file.size, start + chunkSize)
|
const end = Math.min(file.size, start + chunkSize)
|
||||||
const res = await sendChunk(file, start, end)
|
const res = await sendChunk(file, start, end)
|
||||||
console.log( 'progress: '+ (100*i + 1) / numChunks )
|
console.log( 'progress: '+ (100*i + 1) / numChunks )
|
||||||
|
console.log( 'Num Chunks: '+ numChunks )
|
||||||
documentStore.updateUploadingDocuments( document.key, (100*i + 1) / numChunks)
|
documentStore.updateUploadingDocuments( document.key, (100*i + 1) / numChunks)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,8 +5,8 @@
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<title>Vite Vasanko</title>
|
<title>Vite Vasanko</title>
|
||||||
<script type="module" crossorigin src="/assets/index-e281e228.js"></script>
|
<script type="module" crossorigin src="/assets/index-396ce413.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index-d2b8dc8e.css">
|
<link rel="stylesheet" href="/assets/index-adcd8284.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user