🎨 Add sync websocket

This commit is contained in:
Daniel 2023-06-11 10:13:39 +08:00
parent 1b9e2fe35d
commit 4e493483f8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 96 additions and 5 deletions

View file

@ -36,11 +36,12 @@ var (
)
const (
AliyunServer = "https://siyuan-sync.b3logfile.com" // 云端服务地址,阿里云负载均衡,用于接口,数据同步文件上传、下载会走七牛云 OSS SiYuanSyncServer
SiYuanSyncServer = "https://siyuan-data.b3logfile.com/" // 云端数据同步服务地址,七牛云 OSS用于数据同步文件上传、下载
BazaarStatServer = "http://bazaar.b3logfile.com" // 集市包统计服务地址,直接对接 Bucket 没有 CDN 缓存
BazaarOSSServer = "https://oss.b3logfile.com" // 云端对象存储地址,七牛云,仅用于读取集市包
LiandiServer = "https://ld246.com" // 链滴服务地址,用于分享发布帖子
AliyunServer = "https://siyuan-sync.b3logfile.com" // 云端服务地址,阿里云负载均衡,用于接口,数据同步文件上传、下载会走七牛云 OSS SiYuanSyncServer
AliyunWebSocketServer = "wss://siyuan-sync.b3logfile.com" // 云端服务地址,阿里云负载均衡,用于接口,数据同步文件上传、下载会走七牛云 OSS SiYuanSyncServer
SiYuanSyncServer = "https://siyuan-data.b3logfile.com/" // 云端数据同步服务地址,七牛云 OSS用于数据同步文件上传、下载
BazaarStatServer = "http://bazaar.b3logfile.com" // 集市包统计服务地址,直接对接 Bucket 没有 CDN 缓存
BazaarOSSServer = "https://oss.b3logfile.com" // 云端对象存储地址,七牛云,仅用于读取集市包
LiandiServer = "https://ld246.com" // 链滴服务地址,用于分享发布帖子
)
func ShortPathForBootingDisplay(p string) string {