mirror of
https://github.com/Kenshin/simpread.git
synced 2026-02-01 15:41:29 +00:00
Fix clouddn.com cache bug.
This commit is contained in:
parent
335ab694da
commit
1d6f10ff43
@ -136,7 +136,7 @@ class Storage {
|
||||
async GetNewsites( type ) {
|
||||
try {
|
||||
const url = type === "remote" ? remote : local,
|
||||
response = await fetch( url + "?random=" + Math.round(+new Date()) ),
|
||||
response = await fetch( url + "?_=" + Math.round(+new Date()) ),
|
||||
sites = await response.json(),
|
||||
len = simpread.sites.length;
|
||||
if ( len == 0 ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user