update
This commit is contained in:
parent
36ef5db441
commit
1f1aee0ab7
@ -27,7 +27,7 @@ export default function ApiDocsComponent() {
|
|||||||
setLoading(true);
|
setLoading(true);
|
||||||
try {
|
try {
|
||||||
const [imageCountResponse] = await Promise.all([
|
const [imageCountResponse] = await Promise.all([
|
||||||
fetch("/?api=total-pic")
|
fetch("/total-pic")
|
||||||
]);
|
]);
|
||||||
const imageCountData = await imageCountResponse.json();
|
const imageCountData = await imageCountResponse.json();
|
||||||
setImageCount(imageCountData.count);
|
setImageCount(imageCountData.count);
|
||||||
|
2848
package-lock.json
generated
2848
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
4074
pnpm-lock.yaml
Normal file
4074
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user