<?php

return [
    'name'           => 'VetSite',
    'module_version' => '1.0.0',

    /*
    |--------------------------------------------------------------------------
    | Tenant website hosting
    |--------------------------------------------------------------------------
    | base_domain   : the wildcard root used for per-clinic subdomains.
    |                 e.g. "vetone.app" → "happypaws.vetone.app".
    | admin_hosts   : hosts that must always be served by the ERP itself and
    |                 NEVER resolved to a public clinic website. The host parsed
    |                 from APP_URL is added automatically at runtime.
    | reserved_paths: first URL segment(s) that the tenant site must yield to
    |                 (ERP / portal / PWA / API live here on every host).
    */
    'base_domain'    => env('VETSITE_BASE_DOMAIN', null),
    'admin_hosts'    => array_filter(array_map('trim', explode(',', (string) env('VETSITE_ADMIN_HOSTS', '')))),
    'reserved_paths' => [
        'portal', 'app', 'staff-app', 'api', 'install', 'login', 'logout',
        'admin', 'business', 'home', 'pms', 'bms-client', 'bms-staff',
        'modules', 'storage', 'uploads', 'vendor', 'css', 'js', 'img', 'files',
    ],
];
