File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
chatgpt/chatgpt-auto-refresh Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 220
220
// @description :zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
221
221
// @author Adam Lui
222
222
// @namespace https://github.com/adamlui
223
- // @version 2025.1.30.2
223
+ // @version 2025.1.30.3
224
224
// @license MIT
225
225
// @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
226
226
// @icon 64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
914
914
navicon ( { preload = false } = { } ) {
915
915
const baseURL = `${ app . urls . assetHost } /images/icons/auto-refresh` ,
916
916
schemeMap = { light : 'black' , dark : 'white' } ,
917
- fileName = 'icon32.png'
918
-
917
+ fileName = `icon32.png?v=${ app . latestResourceCommitHash } `
919
918
if ( preload )
920
919
Object . keys ( schemeMap ) . forEach ( scheme =>
921
- new Image ( ) . src = `${ baseURL } /${ schemeMap [ scheme ] } /${ fileName } ?v=`
922
- + app . latestResourceCommitHash
923
- )
924
- else toggles . sidebar . navicon . src = baseURL
925
- + `/${ schemeMap [ env . ui . scheme ] } /${ fileName } ?v=${ app . latestResourceCommitHash } `
920
+ new Image ( ) . src = `${ baseURL } /${ schemeMap [ scheme ] } /${ fileName } ` )
921
+ else toggles . sidebar . navicon . src = `${ baseURL } /${ schemeMap [ env . ui . scheme ] } /${ fileName } `
926
922
} ,
927
923
928
924
scheme ( ) { // to match UI scheme
You can’t perform that action at this time.
0 commit comments