fix mount path

This commit is contained in:
timothycarambat 2023-08-10 13:45:18 -07:00
parent ac042d2574
commit d6a079e8c8

View File

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