Add total disk space to space api #12

Merged
tgpholly merged 6 commits from total-disk-space into master 2020-07-09 10:54:10 +01:00
tgpholly commented 2020-07-09 00:18:02 +01:00 (Migrated from github.com)

As mentioned currently by the readme of EUS-Web and stated by the people who have used inspect element on the EUS frontend, the total disk space of EUS is currently hard-coded on the frontend which isn't great.

It was about time I got around to this since I've been putting it off for a long time, even going back the the PHP system.

This does mean EUS has a new dependency in the form of diskusage

This also means as a consequence the api endpoint for space has now grown in size in terms of it's output.

This will be a breaking change for everything using the space api

As mentioned currently by the readme of EUS-Web and [stated by the people who have used inspect element on the EUS frontend](https://ethanus.ml/l0aXu1HpCThlGn), the total disk space of EUS is currently hard-coded on the frontend which isn't great. It was about time I got around to this since I've been putting it off for a long time, even going back the the PHP system. This does mean EUS has a new dependency in the form of [diskusage](https://www.npmjs.com/package/diskusage) This also means as a consequence the api endpoint for space has now grown in size in terms of it's output. This **will** be a breaking change for everything using the space api
littlemisssynth (Migrated from github.com) approved these changes 2020-07-09 10:52:47 +01:00
Sign in to join this conversation.
No description provided.