feat: array state on registration page

This commit is contained in:
Zack Spear
2024-04-30 18:08:37 -07:00
committed by Zack Spear
parent 2bf8f0b937
commit 3eba95b8cc
5 changed files with 24 additions and 2 deletions

View File

@@ -236,6 +236,10 @@ class ServerState
public function getServerState()
{
$serverState = [
"array" => [
"state" => @$this->getWebguiGlobal('var', 'fsState'),
"progress" => @$this->getWebguiGlobal('var', 'fsProgress'),
],
"apiKey" => $this->apiKey,
"apiVersion" => $this->apiVersion,
"avatar" => $this->avatar,