runway-video/backend/config_client.php
2025-09-04 05:53:16 +05:30

15 lines
No EOL
371 B
PHP

<?php
// backend/config_client.php
require_once 'config.php';
header('Content-Type: application/json');
// Return only the client-safe configuration
$config = [
'azure_client_id' => getenv('AZURE_CLIENT_ID'),
'azure_tenant_id' => getenv('AZURE_TENANT_ID'),
'redirect_uri' => 'http://localhost:3000/' // MAMP server redirect
];
echo json_encode($config);
?>