mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 12:14:28 +00:00
fix: slash in env names
ui: placement of env switcher
This commit is contained in:
1 parent
a3255f3ab0
commit
76ba365325
5 files changed
+28
-21
No files matched your search
@@ -109,7 +109,7 @@ class Environment extends Model
|
||||
protected function name(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
set: fn (string $value) => strtolower($value),
|
||||
set: fn (string $value) => str($value)->lower()->trim()->replace('/', '-')->toString(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user