|
|
@@ -93,13 +93,13 @@ class SiteController {
|
|
|
|
|
|
public static function deploy($data): void {
|
|
|
$domain = $data['domain'] ?? '';
|
|
|
+ error_log("deploy: DEBUG: " . print_r($data, true));
|
|
|
|
|
|
if (empty($domain)) {
|
|
|
http_response_code(400);
|
|
|
echo json_encode(['error' => 'Missing required parameter: domainname']);
|
|
|
return;
|
|
|
}
|
|
|
- $zip = $data['zip'];
|
|
|
echo json_encode(['status' => 'FINISHED']);
|
|
|
}
|
|
|
|