Skip to content

Commit 5b8ea2e

Browse files
authored
time
1 parent 0453960 commit 5b8ea2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layout/_partial/scripts/_ctrl/cdnCtrl.ejs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
theme.cdn.map.css={}
1515
theme.cdn.addJS=(name,source,force)=>{
1616
if(force){
17-
theme.cdn.map.js[name]=force
17+
theme.cdn.map.js[name]=force + '?time=' + Date.now()
1818
}else{
1919
if(!source){
2020
source=name
@@ -32,7 +32,7 @@
3232
}
3333
theme.cdn.addCSS=(name,source,force)=>{
3434
if(force){
35-
theme.cdn.map.css[name]=force
35+
theme.cdn.map.css[name]=force + '?time=' + Date.now()
3636
}else{
3737
if(!source){
3838
source=name

0 commit comments

Comments
 (0)