This commit is contained in:
2026-10-03 14:33:08 +04:00
parent 6a73d760c4
commit 93a9442e1c
67 changed files with 941 additions and 698 deletions
+5 -5
View File
@@ -6,8 +6,8 @@ use App\Exceptions\DuplicateGameAccountException;
use App\Exceptions\InviteCodeException;
use App\Http\Requests\RegisterGameAccountRequest;
use App\Models\News;
use App\Services\AzerothCoreAccountRegistrar;
use App\Services\AzerothCoreAccountService;
use App\Services\VMangosAccountRegistrar;
use App\Services\VMangosAccountService;
use App\Services\InviteCodeService;
use App\Services\NewsService;
use Illuminate\Http\RedirectResponse;
@@ -22,7 +22,7 @@ class LandingController extends Controller
{
public function index(
Request $request,
AzerothCoreAccountService $accounts,
VMangosAccountService $accounts,
NewsService $news,
): Response {
$realmConfig = config('moonwell.realm');
@@ -68,7 +68,7 @@ class LandingController extends Controller
'ping' => 38,
'factions' => ['alliance' => 52, 'horde' => 48],
'rates' => $rates,
'client_version' => $realmConfig['client_version'] ?? '3.3.5a',
'client_version' => $realmConfig['client_version'] ?? '1.12.1',
'tagline' => $realmConfig['tagline'] ?? null,
'server_name' => $serverName,
],
@@ -112,7 +112,7 @@ class LandingController extends Controller
public function register(
RegisterGameAccountRequest $request,
AzerothCoreAccountRegistrar $registrar,
VMangosAccountRegistrar $registrar,
InviteCodeService $inviteCodes,
): RedirectResponse {
try {