fix restart
This commit is contained in:
@@ -78,7 +78,7 @@ export async function restartCoolify(request: FastifyRequest<any>) {
|
||||
const teamId = request.user.teamId;
|
||||
if (teamId === '0') {
|
||||
if (!isDev) {
|
||||
await asyncExecShell(`docker restart coolify`);
|
||||
asyncExecShell(`docker restart coolify`);
|
||||
return {};
|
||||
} else {
|
||||
console.log('Restarting Coolify')
|
||||
|
||||
Reference in New Issue
Block a user