diff --git a/config/dev.yaml b/config/dev.yaml index 13efc0fc..41220bc8 100644 --- a/config/dev.yaml +++ b/config/dev.yaml @@ -10,8 +10,9 @@ client: seoKeywords: '云策文档,协作,文档,fantasticit,https://github.com/fantasticit/think' # 预先连接的来源,空格分割(比如图片存储服务器) dnsPrefetch: '//wipi.oss-cn-shanghai.aliyuncs.com' - # 站点地址(如:http://think.codingit.cn/),一定要设置,否则会出现 cookie、跨域等问题 + # 站点地址(如:https://think.codingit.cn/),一定要设置,否则会出现 cookie、跨域等问题 siteUrl: 'http://localhost:5001' + # 一定要设置,否则会出现 cookie、跨域等问题,注意如果网页部署在 https://think.codingit.cn,那这里的值应当为 .codingit.cn(没有 think) siteDomain: '' server: @@ -73,4 +74,4 @@ oss: # jwt 配置 jwt: secretkey: 'zA_Think+KNOWLEDGE+WIKI+DOCUMENTS@2022' - expiresIn: '6h' \ No newline at end of file + expiresIn: '6h'