An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
wip
Andras Bacsaic6b6e841b63d
diff --git a/app/Http/Middleware/LicenseValid.php b/app/Http/Middleware/LicenseValid.phpdeleted file mode 100644index 52d5840e7e..0000000000--- a/app/Http/Middleware/LicenseValid.php+++ /dev/null@@ -1,36 +0,0 @@-<?php--namespace App\Http\Middleware;--use Closure;-use Illuminate\Http\Request;-use Illuminate\Support\Facades\Cache;-use Symfony\Component\HttpFoundation\Response;--class LicenseValid-{- /**- * Handle an incoming request.- *- * @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next- */- public function handle(Request $request, Closure $next): Response- {- if (isCloud()) {- $value = Cache::get('license_key');- if (isDev()) {- $value = true;- }- if (!$value) {- if ($request->path() !== 'license' && $request->path() !== 'livewire/message/license') {- return redirect('license');- }- } else {- if ($request->path() === 'license' || $request->path() === 'livewire/message/license') {- return redirect('home');- }- }- }- return $next($request);- }-}