🤤修改接口地址为all.json

This commit is contained in:
柳神 2024-09-07 15:49:51 +08:00
parent 126c7f88f0
commit 2111013e6b

View File

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