Loading

摘要: 文件服务器没有在响应头中返回 Content-Length。 NestJS 中将 return new StreamableFile(file); 直接作为路由的返回值,默认不会返回 Content-Length,需要手动设置该响应头,或者在 StreamableFile 构造函数的第二个参数中传入 阅读全文
posted @ 2022-11-03 23:34 myEsn2E9 阅读(157) 评论(0) 推荐(0) 编辑