Skip to content

Releases

XDrive Server 0.1.1(插件:-web 自带前端 + 本机 CORS)

Choose a tag to compare

@jd7438716 jd7438716 released this 02 Dec 15:04

可选插件形态的服务端。同一个二进制既能发 /api 也能发前端:xdrive-server -config config.json -web web -addr 127.0.0.1:13002,浏览器打开 http://127.0.0.1:13002/ 就是完整网盘(同源,无 CORS/混合内容问题)。

  • 新增 -web / XDRIVE_WEB:静态站 + 首屏回退 + 静态缓存头(index.html/sw.js/build.json/manifest no-cache)
  • 新增 withCORS:本机来源默认放行(127.0.0.1 / localhost / [::1] 任意端口),其余走 http.cors_origins;预检放行 X-XD-Request / X-XD-Chunk
  • 来源:netdisk@8559167;sha256:windows zip c214ff52…51ffbf6 / linux tar.gz 011f28d4…afd350(完整值见 plugins.json)

XDrive Server 插件 v0.1.0

Choose a tag to compare

@jd7438716 jd7438716 released this 02 Dec 13:56

云匣 XDrive 的可选 Go 服务端插件。支持 local / SeaweedFS / 腾讯云 COS(S3 兼容)。需要自行准备 config.json;当前尚未接入 XShell svc.* 协议,作为独立 HTTP 服务运行。MIT License.