fix: remove /

This commit is contained in:
Lan
2025-03-06 00:25:18 +08:00
parent fb331a9f45
commit 64e8d8c117
5 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ const getLocalstorageUsed = (nowUsedBit: string) => {
}
}
const getDashboardData = async () => {
const response: any = await api.get('/admin/dashboard')
const response: any = await api.get('admin/dashboard')
dashboardData.totalFiles = response.detail.totalFiles
dashboardData.storageUsed = getLocalstorageUsed(response.detail.storageUsed)
dashboardData.yesterdaySize = getLocalstorageUsed(response.detail.yesterdaySize)