Skip to content

Commit ccb7515

Browse files
committed
docs: remove test pwa
1 parent f6ed6d3 commit ccb7515

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
'https://raw.githubusercontent.com/docsifyjs/docsify/main/CHANGELOG.md',
104104
'/.*/_navbar.md': '/_navbar.md',
105105
'/zh-cn/(.*)':
106-
'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master/$1',
106+
'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@main/$1',
107107
},
108108
auto2top: true,
109109
coverpage: true,
@@ -203,11 +203,12 @@
203203
if (/githubusercontent\.com/.test(vm.route.file)) {
204204
url = vm.route.file
205205
.replace('raw.githubusercontent.com', 'github.com')
206-
.replace(/\/master/, '/blob/master');
206+
.replace(/\/master/, '/blob/master')
207+
.replace(/\/main/, '/blob/main');
207208
} else if (/jsdelivr\.net/.test(vm.route.file)) {
208209
url = vm.route.file
209210
.replace('cdn.jsdelivr.net/gh', 'github.com')
210-
.replace('@master', '/blob/master');
211+
.replace('@main', '/blob/main');
211212
} else {
212213
url =
213214
'https://github.com/docsifyjs/docsify/blob/develop/docs/' +

docs/pwa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ _index.html_
119119

120120
## Enjoy it
121121

122-
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.
122+
Release your website and start experiencing the magical offline feature.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy