admin-portal/tech/api/rebuildWebsite.php
Frederico Falcao f2a6525224 init
2025-05-30 10:46:17 +01:00

17 lines
394 B
PHP

<?php
require_once __DIR__."/_authenticateApiRequest.php";
// ✅ Authenticated
header('Content-Type: application/json');
//file_put_contents(date("Y-m-d_H-i-s").".json", file_get_contents("php://input"));
echo json_encode(['message' => '✅ Authenticated request']);
/*
*
* HERE SHOULD BE THE CODE TO RUN: NPM BUILD, etc...
* (it's associated to deploy button in (upload.php)
*
*/
exit;