🤤修改接口地址为all.json
This commit is contained in:
parent
126c7f88f0
commit
2111013e6b
@ -42,7 +42,7 @@ function initialize_fc_lite() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch(`${UserConfig.private_api_url}all`)
|
fetch(`${UserConfig.private_api_url}all.json`)
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
localStorage.setItem(cacheKey, JSON.stringify(data));
|
localStorage.setItem(cacheKey, JSON.stringify(data));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user