This repository was archived by the owner on Nov 21, 2023. It is now read-only.
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ async function handleRequest(request) {
154
154
155
155
console . log ( path )
156
156
if ( ! path ) {
157
- const html = await fetch ( 'https://static.fuki.cc /' + config . themes + '/index.html' )
157
+ const html = await fetch ( 'https://cdn.jsdelivr.net/gh/toshikidev/fuki@gh-pages /' + config . themes + '/index.html' )
158
158
159
159
return new Response ( await html . text ( ) , {
160
160
headers : {
@@ -176,7 +176,7 @@ async function handleRequest(request) {
176
176
if ( location ) {
177
177
if ( config . safe_browsing_api_key ) {
178
178
if ( ! ( await is_url_safe ( location ) ) ) {
179
- let warning_page = await fetch ( 'https://static.fuki.cc /safe-browsing.html' )
179
+ let warning_page = await fetch ( 'https://cdn.jsdelivr.net/gh/toshikidev/fuki@gh-pages /safe-browsing.html' )
180
180
warning_page = await warning_page . text ( )
181
181
warning_page = warning_page . replace ( / { R e p l a c e } / gm, location )
182
182
return new Response ( warning_page , {
@@ -187,7 +187,7 @@ async function handleRequest(request) {
187
187
}
188
188
}
189
189
if ( config . no_ref == 'on' ) {
190
- let no_ref = await fetch ( 'https://static.fuki.cc /no-ref.html' )
190
+ let no_ref = await fetch ( 'https://cdn.jsdelivr.net/gh/toshikidev/fuki@gh-pages /no-ref.html' )
191
191
no_ref = await no_ref . text ( )
192
192
no_ref = no_ref . replace ( / { R e p l a c e } / gm, location )
193
193
return new Response ( no_ref , {
You can’t perform that action at this time.
0 commit comments