update rm deadcode

This commit is contained in:
baodev0
2026-09-27 11:42:40 +07:00
parent 82a71244ca
commit 3af59bd9c5
129 changed files with 5194 additions and 2698 deletions
@@ -0,0 +1,18 @@
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
class RestrictToLocalEnvironment
{
public function handle(Request $request, Closure $next): mixed
{
if (!app()->environment('local')) {
abort(404);
}
return $next($request);
}
}