mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
fix mount path
This commit is contained in:
parent
ac042d2574
commit
d6a079e8c8
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ function byteToGigaByte(n) {
|
|||
async function getDiskStorage() {
|
||||
try {
|
||||
const checkDiskSpace = require("check-disk-space").default;
|
||||
const { free, size } = await checkDiskSpace("/dev/sda1");
|
||||
const { free, size } = await checkDiskSpace("/dev/xvda");
|
||||
return {
|
||||
current: Math.floor(byteToGigaByte(free)),
|
||||
capacity: Math.floor(byteToGigaByte(size)),
|
||||
|
|
Loading…
Add table
Reference in a new issue