Fix clouddn.com cache bug.

This commit is contained in:
Kenshin 2017-01-09 18:11:57 +08:00
parent 335ab694da
commit 1d6f10ff43

View File

@ -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 ) {