<?php
declare(strict_types=1);

header('Content-Type: application/json; charset=utf-8');

$configFile = __DIR__ . '/config.local.php';
if (is_file($configFile)) {
    require $configFile;
}

$url = defined('SHEETS_WEBHOOK_URL') ? SHEETS_WEBHOOK_URL : '';

echo json_encode(['url' => $url]);
