mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-16 20:21:38 +08:00
docs: remove test pwa
This commit is contained in:
+4
-3
@@ -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
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user