mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 12:14:07 +00:00
refactor(ui): terminal
This commit is contained in:
1 parent
bd9f3d9a69
commit
f7daddce58
12 files changed
+52
-98
No files matched your search
@@ -45,7 +45,7 @@ class Terminal extends Component
|
||||
{
|
||||
$server = Server::ownedByCurrentTeam()->whereUuid($serverUuid)->firstOrFail();
|
||||
if (! $server->isTerminalEnabled() || $server->isForceDisabled()) {
|
||||
throw new \RuntimeException('Terminal access is disabled on this server.');
|
||||
abort(403, 'Terminal access is disabled on this server.');
|
||||
}
|
||||
|
||||
if ($isContainer) {
|
||||
|
||||
Reference in new issue
Block a user