Skip to content

Commit d4e1bc6

Browse files
committed
Discord link via CDN now.
1 parent 4e66ba0 commit d4e1bc6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

app/Services/VersionService.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public function __construct()
5252
return (object) [
5353
'panel' => 'error',
5454
'daemon' => 'error',
55+
'discord' => 'https://pterodactyl.io',
5556
];
5657
}
5758
});
@@ -67,6 +68,11 @@ public static function getDaemon()
6768
return self::$versions->daemon;
6869
}
6970

71+
public static function getDiscord()
72+
{
73+
return self::$versions->discord;
74+
}
75+
7076
public function getCurrentPanel()
7177
{
7278
return config('app.version');

resources/views/admin/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</div>
4242
<div class="row">
4343
<div class="col-xs-4 text-center">
44-
<a href="https://discord.gg/QRDZvVm"><button class="btn btn-sm btn-warning" style="width:100%;"><i class="fa fa-fw fa-support"></i> Get Help <small>(via Discord)</small></button></a>
44+
<a href="{{ Version::getDiscord() }}"><button class="btn btn-sm btn-warning" style="width:100%;"><i class="fa fa-fw fa-support"></i> Get Help <small>(via Discord)</small></button></a>
4545
</div>
4646
<div class="col-xs-4 text-center">
4747
<a href="https://docs.pterodactyl.io"><button class="btn btn-sm btn-default" style="width:100%;"><i class="fa fa-fw fa-link"></i> Documentation</button></a>

0 commit comments

Comments
 (0)