mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
⚡ 改进非订阅用户集市包下载速度 Fix https://github.com/siyuan-note/siyuan/issues/5779
This commit is contained in:
parent
b0de05da78
commit
00e0f6b7de
7 changed files with 21 additions and 25 deletions
|
|
@ -34,11 +34,10 @@ var (
|
|||
)
|
||||
|
||||
const (
|
||||
ServerPort = "6806" // HTTP/WebSocket 端口
|
||||
AliyunServer = "https://siyuan-sync.b3logfile.com" // 云端服务地址,阿里云负载均衡,用于接口,数据同步文件上传、下载会走七牛云 OSS http://siyuan-data.b3logfile.com
|
||||
BazaarStatServer = "http://bazaar.b3logfile.com" // 集市包统计服务地址,直接对接 Bucket 没有 CDN 缓存
|
||||
BazaarOSSServer = "https://oss.b3logfile.com" // 云端对象存储地址,七牛云,仅用于读取小文件(比如配置 json),不用于读取包内容(如果是订阅会员则用于读取包内容)
|
||||
BazaarOSSFileServer = "https://oss0.b3logfile.com" // 云端对象存储文件服务地址,Cloudflare,用于读取包内容
|
||||
ServerPort = "6806" // HTTP/WebSocket 端口
|
||||
AliyunServer = "https://siyuan-sync.b3logfile.com" // 云端服务地址,阿里云负载均衡,用于接口,数据同步文件上传、下载会走七牛云 OSS http://siyuan-data.b3logfile.com
|
||||
BazaarStatServer = "http://bazaar.b3logfile.com" // 集市包统计服务地址,直接对接 Bucket 没有 CDN 缓存
|
||||
BazaarOSSServer = "https://oss.b3logfile.com" // 云端对象存储地址,七牛云,仅用于读取集市包
|
||||
)
|
||||
|
||||
func ShortPathForBootingDisplay(p string) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue