파일을 업로드할 때 스트리밍이 되지 않고 버퍼링하던 버그 수정

This commit is contained in:
static
2025-01-14 18:06:41 +09:00
parent 6015a9bca4
commit f4b9f87087
5 changed files with 66 additions and 13 deletions

View File

@@ -60,9 +60,16 @@
data.id,
$masterKeyStore?.get(1)!,
$hmacSecretStore?.get(1)!,
).then(() => {
info = getDirectoryInfo(data.id, $masterKeyStore?.get(1)?.key!); // TODO: FIXME
});
)
.then(() => {
// TODO: FIXME
info = getDirectoryInfo(data.id, $masterKeyStore?.get(1)?.key!);
window.alert("파일이 업로드되었어요.");
})
.catch(() => {
// TODO: FIXME
window.alert("파일 업로드에 실패했어요.");
});
};
const loadAndUploadFile = async () => {