mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 01:06:09 +01:00
debian 12
This commit is contained in:
@@ -7586,7 +7586,7 @@ StrictHostKeyChecking no
|
|||||||
if output.find("1,None") > -1:
|
if output.find("1,None") > -1:
|
||||||
status = {"status": 1, "message": "Apache configuration reset to default successfully."}
|
status = {"status": 1, "message": "Apache configuration reset to default successfully."}
|
||||||
else:
|
else:
|
||||||
status = {"status": 0, "error_message": f"Failed to reset Apache configuration: {output}"
|
status = {"status": 0, "error_message": f"Failed to reset Apache configuration: {output}"}
|
||||||
|
|
||||||
final_json = json.dumps(status)
|
final_json = json.dumps(status)
|
||||||
return HttpResponse(final_json)
|
return HttpResponse(final_json)
|
||||||
|
|||||||
Reference in New Issue
Block a user