Skip to content
Snippets Groups Projects
Commit 2f009f7d authored by syuilo's avatar syuilo
Browse files

add note

parent f85aa7b6
No related branches found
No related tags found
No related merge requests found
......@@ -203,6 +203,7 @@ export class ApiCallService implements OnApplicationShutdown {
await stream.pipeline(multipartData.file, fs.createWriteStream(path));
// ファイルサイズが制限を超えていた場合
// なお truncated はストリームを読み切ってからでないと機能しないため、stream.pipeline より後にある必要がある
if (multipartData.file.truncated) {
cleanup();
reply.code(413);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment