<?php
declare(strict_types=1);
require __DIR__ . '/lib/bootstrap.php';
logoutUser();
if (isset($_GET['json'])) {
    header('Content-Type: application/json; charset=utf-8');
    echo json_encode(['ok' => true]);
    exit;
}
header('Location: index.html');
