diff --git a/docs/index.html b/docs/index.html
index 4da308171..a1d51985b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -103,7 +103,7 @@
'https://raw.githubusercontent.com/docsifyjs/docsify/main/CHANGELOG.md',
'/.*/_navbar.md': '/_navbar.md',
'/zh-cn/(.*)':
- 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master/$1',
+ 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@main/$1',
},
auto2top: true,
coverpage: true,
@@ -203,11 +203,12 @@
if (/githubusercontent\.com/.test(vm.route.file)) {
url = vm.route.file
.replace('raw.githubusercontent.com', 'github.com')
- .replace(/\/master/, '/blob/master');
+ .replace(/\/master/, '/blob/master')
+ .replace(/\/main/, '/blob/main');
} else if (/jsdelivr\.net/.test(vm.route.file)) {
url = vm.route.file
.replace('cdn.jsdelivr.net/gh', 'github.com')
- .replace('@master', '/blob/master');
+ .replace('@main', '/blob/main');
} else {
url =
'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
diff --git a/docs/pwa.md b/docs/pwa.md
index 4deb45a90..294b22280 100644
--- a/docs/pwa.md
+++ b/docs/pwa.md
@@ -119,4 +119,4 @@ _index.html_
## Enjoy it
-Release your website and start experiencing the magical offline feature. :ghost: You can turn off Wi-Fi and refresh the current site to experience it.
+Release your website and start experiencing the magical offline feature.