HollisMeynell
HollisMeynell
> u can already get all that with axios. > > like axios.get('[https://osu.ppy.sh/api/get_user?k={API_KEY}&u=](https://osu.ppy.sh/api/get_user?k=%7BAPI_KEY%7D&u=)' + tempName) I am not proficient with javascript ,how to use axios ? I tried to replicate...
I ran into the same problem, and osu must crash, the graphics card is AMD Start osu first and then gosumemory ,osu will immediately crash Start gosumemory first and then...

> I ran into the same problem, and osu must crash, the graphics card is AMD > Start osu first and then gosumemory ,osu will immediately crash > Start gosumemory...
这完全是nginx的反向代理功能 https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/ 这是一段示例: ` server { listen 80; server_name D001.device.abc.com; location / { proxy_pass http://127.0.0.1:9000; } } `
https://github.com/rapiz1/rathole/blob/main/docs/out-of-scope.md 开发者已经在此说明了,不会支持这种功能的
提供一点实现思路(不太懂go, 但是思路都是一致的) JavaScript 中, 上传使用 js 中 `Blob` 对象的 `slice` 方法完成对文件的分割(这里实际是浏览器对本地文件的引用) 将分割好的文件进行上传, 且在上传请求的请求头中包含关于当前分块, 总分块个数, 总文件大小 后端接收先判断是否为新文件, 新文件则先创建文件大小的文件, 然后使用文件指针在对应位置写入当前块信息 注意前端做好块上传失败重试, 并发写入时注意判断块是否写过了, 以及取消上传时删除对应文件
前端简单的示例代码 ``` // html // js function handleFileUpload(event) { const file = event.target.files[0]; const chunkSize = 1024 * 1024; // 1MB let chunks = 0; let chunkStart = 0 while...
> 大神的思路都很赞,国内网盘大部分都有单文件4G的上传限制,但是我也是有大文件需要备份上传,甚至超过100g,现在还只能用物理备份。 对接国内云网盘的话, 倒是可以拆分存储来解决, 就是这样没法直接在国内云网盘操作文件, 需要都下载下来手动合并, 出意外的概率就增加了