Skip to content

Commit

Permalink
feat: Update doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
PaloMiku committed Jan 12, 2025
1 parent 370e2a2 commit 5b75384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/docs/core/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ wget https://fastly.jsdelivr.net/gh/mx-space/core@master/docker-compose.yml
- **`JWT 密钥`**:需要填写长度不小于 16 个字符,不大于 32 个字符的字符串,用于加密用户的 JWT,务必保存好自己的密钥,不要泄露给他人。
- **`被允许的域名`**:需要填写被允许的域名,通常是前端的域名,如果允许多个域名访问,用英文逗号,分隔。
- **`是否开启加密`**:如果你确定要开启加密,将 false 改为 true,开启加密后,你需要在下方填写加密密钥。
- **`加密密钥`**:如果你不知道这是什么,那么不建议开启此功能,具体内容可参考 https://mx-space.js.org/usage/security.html
- **`加密密钥`**:如果你不知道这是什么,那么不建议开启此功能,具体内容可参考 [Key 加密与安全性](https://mx-space.js.org/docs/usage/security.html)

<Callout type="warn">
若开启加密,则需注意密钥长度**必须为 64 位且只有小写字母和数字**,不然会在初始化时报错。注意这是**不可逆**的,务必保存自己的秘钥。所以并不是非常推荐使用,除非你真的需要加密
Expand Down
2 changes: 1 addition & 1 deletion content/docs/themes/shiro/deploy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ToGitHub } from 'app/components/ToGitHub'

<Callout type="warn">
自 Core v7 起,已抛弃 Clerk,取而代之的是 GitHub 和 Google 的 OAuth 2.0,
配置步骤请参考 [OAuth 2.0](/usage/oauth)
配置步骤请参考 [OAuth 2.0](/docs/usage/oauth)

~~请注意,Shiro 主题的部署教程与初版有所不同,如果你已经部署过 Shiro
主题,请重新阅读本文档(尤其是填入配置文件环节,配置有所变化),并阅读
Expand Down

0 comments on commit 5b75384

Please sign in to comment.