sjqzhang / go-fastdfs

go-fastdfs 是一个简单的分布式文件系统(私有云存储),具有无中心、高性能,高可靠,免维护等优点,支持断点续传,分块上传,小文件合并,自动同步,自动修复。Go-fastdfs is a simple distributed file system (private cloud storage), with no center, high performance, high reliability, maintenance free and other advantages, support breakpoint continuation, block upload, small file merge, automatic synchronization, automatic repair.(similar fastdfs).
https://gitee.com/sjqzhang/go-fastdfs
The Unlicense
3.91k stars 745 forks source link

跨域问题 #399

Closed ayhome closed 1 year ago

ayhome commented 1 year ago

一直提示跨域问题,我是遇见过各种跨域问题的,都很好解决, 通过nginx也没配置好, 用的aiox, 唉

image
sjqzhang commented 1 year ago

使用 v1.4.5 版本,在http请求头设定 origin为要跨域的域名试试。