<?php

declare(strict_types=1);

return [
    'files_url'  => env('FILES_CDN_URL',  'https://cdn.skinbase.org'),
    'avatar_url' => env('AVATAR_CDN_URL', 'https://cdn.skinbase.org'),

    /**
     * Optional CDN purge webhook URL.
     * When set, the artwork versioning system will POST { paths: [...] }
     * after every file replacement to bust stale thumbnails.
     *
     * Example: https://api.cloudflare.com/client/v4/zones/{zone_id}/purge_cache
     */
    'purge_url'  => env('CDN_PURGE_URL', null),

    'cloudflare' => [
        'zone_id' => env('CLOUDFLARE_ZONE_ID', null),
        'api_token' => env('CLOUDFLARE_API_TOKEN', null),
    ],
];
