feat(server): overlay admin get_settings from SuperAdmin program-settings

Fetch public program-settings with 3-origin retry and no Laravel cache so
local DB settings stay in sync with the sold version.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 16:10:37 +03:30
co-authored by Cursor
parent 7d405cb83b
commit da9f98b958
5 changed files with 477 additions and 11 deletions
+2
View File
@@ -50,6 +50,8 @@ return [
'sms_shared_secret' => env('SUPERADMIN_SMS_SHARED_SECRET'),
'sms_domain' => env('SUPERADMIN_SMS_DOMAIN'),
'remote_token' => env('SUPERADMIN_REMOTE_TOKEN'),
/** Origin سوپرادمین برای /api/public/program-settings و /api/remote/program-settings */
'origin' => env('SUPERADMIN_ORIGIN'),
],
];