mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 12:14:28 +00:00
wip
This commit is contained in:
1 parent
5bda8a426c
commit
f3f8a62a18
14 files changed
+206
-3
No files matched your search
@@ -16,7 +16,10 @@ class LicenseValid
|
||||
*/
|
||||
public function handle(Request $request, Closure $next): Response
|
||||
{
|
||||
if (!config('coolify.self_hosted')) {
|
||||
if (isCloud()) {
|
||||
if (isDev()) {
|
||||
return $next($request);
|
||||
}
|
||||
$value = Cache::get('license_key');
|
||||
if (!$value) {
|
||||
ray($request->path());
|
||||
|
||||
Reference in new issue
Block a user