mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-04 22:10:12 +01:00
fix mount path
This commit is contained in:
parent
ac042d2574
commit
d6a079e8c8
@ -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…
Reference in New Issue
Block a user