mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
better random names (KEBAB)
This commit is contained in:
1 parent
946758e219
commit
27e867e6ad
2 files changed
+3
-8
No files matched your search
@@ -13,6 +13,8 @@ use Illuminate\Support\Facades\Process;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Spatie\Activitylog\Contracts\Activity;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
|
||||
if (!function_exists('generalErrorHandler')) {
|
||||
function generalErrorHandler(\Throwable $e, $that = null)
|
||||
@@ -179,7 +181,7 @@ if (!function_exists('generateRandomName')) {
|
||||
new \Nubs\RandomNameGenerator\Alliteration()
|
||||
]
|
||||
);
|
||||
return $generator->getName();
|
||||
return Str::kebab($generator->getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user