mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 22:48:46 +00:00
Add support for QNAP instances with multiple volumes (#1528)
* Add support for pfSense API * Fix linting issues * remove a line * rename cpu to load in default block * Re-order container blocks to ensure defaults show * clean up * Add support for multiple volumes as well as defining the volume you want to track * QNAP widget syntax corrections, translate invalid --------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
a59e8e6efd
commit
cf7c68261f
4 changed files with 30 additions and 8 deletions
|
@ -99,6 +99,6 @@ export default async function qnapProxyHandler(req, res) {
|
|||
|
||||
return res.status(200).send({
|
||||
system: systemStatsData.QDocRoot.func.ownContent.root,
|
||||
volume: volumeStatsData.QDocRoot.volumeUseList
|
||||
volume: volumeStatsData.QDocRoot
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue