diff --git a/app/Services/VersionService.php b/app/Services/VersionService.php index d12c77760..dea0bb16d 100644 --- a/app/Services/VersionService.php +++ b/app/Services/VersionService.php @@ -52,6 +52,7 @@ class VersionService return (object) [ 'panel' => 'error', 'daemon' => 'error', + 'discord' => 'https://pterodactyl.io', ]; } }); @@ -67,6 +68,11 @@ class VersionService return self::$versions->daemon; } + public static function getDiscord() + { + return self::$versions->discord; + } + public function getCurrentPanel() { return config('app.version'); diff --git a/resources/views/admin/index.blade.php b/resources/views/admin/index.blade.php index b0758f27c..aa0915a84 100644 --- a/resources/views/admin/index.blade.php +++ b/resources/views/admin/index.blade.php @@ -41,7 +41,7 @@
- +