Loading

随笔分类 -  electron

摘要:文件服务器没有在响应头中返回 Content-Length。 NestJS 中将 return new StreamableFile(file); 直接作为路由的返回值,默认不会返回 Content-Length,需要手动设置该响应头,或者在 StreamableFile 构造函数的第二个参数中传入 阅读全文
posted @ 2022-11-03 23:34 myEsn2E9 阅读(293) 评论(0) 推荐(0)
摘要:https://stackoverflow.com/a/58662723/7712266 阅读全文
posted @ 2022-09-06 13:07 myEsn2E9 阅读(15) 评论(0) 推荐(0)
摘要:注意 如果开发 electron 桌面软件,需要设置以下两个镜像地址 disturl、electron_mirror 如果用到了 node-sass 需要设置以下一个镜像地址 sass_binary_site yarn yarn config set registry https://registr 阅读全文
posted @ 2021-07-10 21:26 myEsn2E9 阅读(1886) 评论(0) 推荐(0)