Skip to content

Commit

Permalink
nigger
Browse files Browse the repository at this point in the history
  • Loading branch information
im-aeo committed Dec 3, 2023
1 parent 869918f commit f194459
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 39 deletions.
30 changes: 0 additions & 30 deletions app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Kernel extends AeosKernel
* @var array<int, class-string|string>
*/
protected $middleware = [
<<<<<<< HEAD
\App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Illuminate\Http\Middleware\HandleCors::class,
Expand All @@ -24,17 +23,6 @@ class Kernel extends AeosKernel
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
\App\Http\Middleware\Cors::class,

=======
\App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Illuminate\Http\Middleware\HandleCors::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
\App\Http\Middleware\Cors::class,

>>>>>>> 39a8b60fc9187ffe8bbc9f31cd7ca7b112b96018
];

/**
Expand All @@ -57,23 +45,14 @@ class Kernel extends AeosKernel
\App\Http\Middleware\GiveDailyCurrency::class,
\App\Http\Middleware\UpdateOnlineStatus::class,
\App\Http\Middleware\VerifyAccount::class,
<<<<<<< HEAD
\App\Http\Middleware\SiteConfigMiddleware::class, // SiteSettings
\App\Http\Middleware\FeatureFlags::class,
=======
\App\Http\Middleware\SiteConfigMiddleware::class, // SiteSettings
\App\Http\Middleware\FeatureFlags::class,
>>>>>>> 39a8b60fc9187ffe8bbc9f31cd7ca7b112b96018

],

'api' => [
\Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
<<<<<<< HEAD
\Illuminate\Routing\Middleware\ThrottleRequests::class . ':api',
=======
\Illuminate\Routing\Middleware\ThrottleRequests::class.':api',
>>>>>>> 39a8b60fc9187ffe8bbc9f31cd7ca7b112b96018
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
];
Expand All @@ -85,11 +64,7 @@ class Kernel extends AeosKernel
*
* @var array<string, class-string|string>
*/
<<<<<<< HEAD
protected $middlewareAliases = [
=======
protected $middlewareAliases = [
>>>>>>> 39a8b60fc9187ffe8bbc9f31cd7ca7b112b96018
'auth' => \App\Http\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class,
Expand All @@ -100,14 +75,9 @@ class Kernel extends AeosKernel
'precognitive' => \Illuminate\Foundation\Http\Middleware\HandlePrecognitiveRequests::class,
'signed' => \App\Http\Middleware\ValidateSignature::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
<<<<<<< HEAD
'abilities' => \Laravel\Sanctum\Http\Middleware\CheckAbilities::class,
'ability' => \Laravel\Sanctum\Http\Middleware\CheckForAnyAbility::class,
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
=======
'abilities' => \Laravel\Sanctum\Http\Middleware\CheckAbilities::class,
'ability' => \Laravel\Sanctum\Http\Middleware\CheckForAnyAbility::class,
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
>>>>>>> 39a8b60fc9187ffe8bbc9f31cd7ca7b112b96018
];
}
9 changes: 0 additions & 9 deletions app/VueHelpers.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<?php
use App\Models\SiteSettings;
<<<<<<< HEAD
use App\Models\CrateItem;
use App\Models\Item;
=======
>>>>>>> 39a8b60fc9187ffe8bbc9f31cd7ca7b112b96018

function translations($json)
{
Expand All @@ -14,7 +11,6 @@ function translations($json)

return json_decode(file_get_contents($json), true);
}
<<<<<<< HEAD

function crateRarity($data, $rarity)
{
Expand All @@ -38,8 +34,6 @@ function customRaritySort($a, $b)
return 0;
}

=======
>>>>>>> 39a8b60fc9187ffe8bbc9f31cd7ca7b112b96018
function site_setting($key)
{
// Check if the app is in production environment
Expand All @@ -63,7 +57,6 @@ function site_setting($key)
// Use optional chaining to access the property safely
return optional($settings)->$key;
}
<<<<<<< HEAD
function getItemHash($id)
{

Expand All @@ -72,5 +65,3 @@ function getItemHash($id)
])->count();
return $item->hash;
}
=======
>>>>>>> 39a8b60fc9187ffe8bbc9f31cd7ca7b112b96018

0 comments on commit f194459

Please sign in to comment.