17 lines
394 B
PHP
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;
|