Literally add a single comment
This commit is contained in:
parent
378438e4aa
commit
2ffaa4aacc
1 changed files with 1 additions and 0 deletions
1
EUS.js
1
EUS.js
|
@ -281,6 +281,7 @@ function handleAPI(req, res) {
|
||||||
sizeOfFolder = (size / 1024 / 1024 / 1024);
|
sizeOfFolder = (size / 1024 / 1024 / 1024);
|
||||||
jsonaa["space"]["usage"]["gb"] = sizeOfFolder;
|
jsonaa["space"]["usage"]["gb"] = sizeOfFolder;
|
||||||
jsonaa["space"]["usage"]["string"] = spaceToLowest(size, true);
|
jsonaa["space"]["usage"]["string"] = spaceToLowest(size, true);
|
||||||
|
// Get total disk space
|
||||||
diskUsage.check(__dirname, (err, data) => {
|
diskUsage.check(__dirname, (err, data) => {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
jsonaa["space"]["total"] = {
|
jsonaa["space"]["total"] = {
|
||||||
|
|
Loading…
Reference in a new issue