Skip to content

Commit e71008a

Browse files
committed
feat: update docs
1 parent 4955b40 commit e71008a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎docs/guide/config.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ In this example, `$1` is the captured `images`, and `$2` is the rest of the path
370370
"urlRewrite": {
371371
"rules": [
372372
{
373-
"match": "^https://example\\.com/(images)/(.*)$",
373+
"match": "^https://example.com/(images)/(.*)$",
374374
"replace": "https://cdn.example.com/blog-$1/$2"
375375
}
376376
]
@@ -392,7 +392,7 @@ Rewrite:
392392
"urlRewrite": {
393393
"rules": [
394394
{
395-
"match": "^https://raw\\.githubusercontent\\.com/([^/]+)/([^/]+)/([^/]+)/(.*)$",
395+
"match": "^https://raw.githubusercontent.com/([^/]+)/([^/]+)/([^/]+)/(.*)$",
396396
"replace": "https://cdn.jsdelivr.net/gh/$1/$2@$3/$4"
397397
}
398398
]

‎docs/zh/guide/config.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ PicGo 支持为同一种 uploader 保存多份“命名配置”。
371371
"urlRewrite": {
372372
"rules": [
373373
{
374-
"match": "^https://example\\.com/(images)/(.*)$",
374+
"match": "^https://example.com/(images)/(.*)$",
375375
"replace": "https://cdn.example.com/blog-$1/$2"
376376
}
377377
]
@@ -393,7 +393,7 @@ PicGo 支持为同一种 uploader 保存多份“命名配置”。
393393
"urlRewrite": {
394394
"rules": [
395395
{
396-
"match": "^https://raw\\.githubusercontent\\.com/([^/]+)/([^/]+)/([^/]+)/(.*)$",
396+
"match": "^https://raw.githubusercontent.com/([^/]+)/([^/]+)/([^/]+)/(.*)$",
397397
"replace": "https://cdn.jsdelivr.net/gh/$1/$2@$3/$4"
398398
}
399399
]

0 commit comments

Comments
 (0)