• Fares's avatar
    fix(sa): fix mirror connection error with better error handling · 05172c6e
    Fares authored
    - CSRF token now uses \App\Core\CSRF::token() to ensure it's always
      generated, not raw $_SESSION which could be empty
    - apiPost and loadState now check response.ok before parsing JSON,
      preventing silent failures when server returns 419/500/HTML
    - Error messages now include status code or exception details
    - Added guard for empty SLOTS array (missing operating hours)
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    05172c6e
Name
Last commit
Last update
..
Controllers Loading commit data...
Models Loading commit data...
Services Loading commit data...
Views Loading commit data...
Routes.php Loading commit data...
SaConstants.php Loading commit data...
bootstrap.php Loading commit data...