docs: remove test pwa

This commit is contained in:
Luffy
2025-05-09 14:41:11 +08:00
parent f6ed6d3f89
commit ccb7515b70
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -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/' +
+1 -1
View File
@@ -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.