Skip to content

Commit fb22043

Browse files
authored
Temporary increase notice (#230)
1 parent ffc8f05 commit fb22043

File tree

3 files changed

+71
-0
lines changed

3 files changed

+71
-0
lines changed

docs/.vuepress/theme.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,47 @@ export default hopeTheme(
124124
},
125125
components: {
126126
components: ["ArtPlayer", "BiliBili", "Badge"],
127+
// 临时弹窗
128+
rootComponents: {
129+
notice: [
130+
{
131+
path: "/",
132+
title: 'Kind tips',
133+
content: '<span style="color:rgb(255, 0, 0);font-weight:bold;">Please check the reminder content carefully</span></br></br>1.The original API https://api.nn.ci is blocked by SNI </br>2.Alibaba Cloud Plate and applications using this API are all affected. For specific solutions, please check the two options below.</span>',
134+
actions: [
135+
{
136+
text: "Aliyun open",
137+
link: "/guide/drivers/aliyundrive_open",
138+
type: "primary",
139+
},
140+
{
141+
text: "GitHub",
142+
link: "https://github.com/alist-org/alist/discussions/4572",
143+
type: "primary",
144+
},
145+
],
146+
showOnce: true,
147+
},
148+
{
149+
path: "/zh",
150+
title: '温馨提示',
151+
content: '<span style="color:rgb(255, 0, 0);font-weight:bold;">请仔细查看弹窗提示内容</span></br></br>1.原API https://api.nn.ci被sni阻断</br>2.阿里云盘以及其他使用此API的都受影响,具体解决办法请查看下方两个选项二选一查看</span>',
152+
actions: [
153+
{
154+
text: "阿里云open",
155+
link: "/guide/drivers/aliyundrive_open",
156+
type: "primary",
157+
},
158+
{
159+
text: "GitHub",
160+
link: "https://github.com/alist-org/alist/discussions/4572",
161+
type: "primary",
162+
},
163+
],
164+
showOnce: true,
165+
},
166+
],
167+
},
127168
},
128169
},
129170
},

docs/guide/drivers/aliyundrive_open.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,22 @@ typeof fetch !== "undefined" && getLimit()
4949
- New optimization: **will only refresh the token when the request finds that the token is expired, update restart editing if the token is still valid will not refresh.**
5050
5. Online playback video reminder: **`ExceedCapacityForbidden`** error, the capacity exceeds restrictions, implements restrictions, needs to be expanded or deleted unnecessary file saving space to save space,[View details](#four、)
5151

52+
:::
53+
54+
:::danger About Alibaba Cloud OAUTH verification API cannot be connected
55+
56+
1. Since the original API `https://api.nn.ci` is blocked by SNI, resulting in the case that cannot be connected, two new APIs are provided for use:
57+
- `https://api-cf.nn.ci` (A layer of Cloudflare)
58+
- `https://api.xhofe.top` (LiaoNing multi -line, Sponsored by [Asia Cloud](https://www.asiayun.com/aff/QQCOOQKZ))
59+
60+
2. You need to replace the OAUTH token link in the ALIYUNDRIVE_OPEN configuration to
61+
- `https://api-cf.nn.ci/alist/ali_open/token`
62+
- `https://api.xhofe.top/alist/ali_open/token`
63+
- ![](https://user-images.githubusercontent.com/56105412/245379419-bc90dd81-35d5-4773-952c-d160830efce8.png)
64+
65+
3. check the details:https://github.com/alist-org/alist/discussions/4572
66+
67+
5268
:::
5369

5470
## **refresh token**

docs/zh/guide/drivers/aliyundrive_open.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ typeof fetch !== "undefined" && getLimit()
5151

5252
:::
5353

54+
:::danger 关于阿里云open的OAuth验证API无法连接
55+
56+
1. 由于原api `https://api.nn.ci`被sni阻断,导致国内无法连接的情况,故提供两个新的api供使用:
57+
- `https://api-cf.nn.ci` (套了一层cloudflare)
58+
- `https://api.xhofe.top` (辽宁多线, 由[亚洲云](https://www.asiayun.com/aff/QQCOOQKZ)赞助)
59+
2. 需要将`aliyundrive_open`后台配置中的`Oauth令牌链接`更换为
60+
- `https://api-cf.nn.ci/alist/ali_open/token`
61+
- `https://api.xhofe.top/alist/ali_open/token`
62+
- ![](https://user-images.githubusercontent.com/56105412/245379419-bc90dd81-35d5-4773-952c-d160830efce8.png)
63+
64+
3. 查看详情:https://github.com/alist-org/alist/discussions/4572
65+
66+
:::
67+
5468

5569

5670

0 commit comments

Comments
 (0)