Deploy: 2026-05-23 02:03:54

This commit is contained in:
Hamza-Ayed
2026-05-23 02:03:54 +03:00
parent 73fd2f2b1f
commit cb0cae8660

View File

@@ -85,6 +85,9 @@ class OTPController extends BaseController
} }
$appUrl = rtrim(getenv('APP_URL') ?: 'https://nabeh.intaleqapp.com', '/'); $appUrl = rtrim(getenv('APP_URL') ?: 'https://nabeh.intaleqapp.com', '/');
if (strpos($appUrl, 'localhost') !== false || strpos($appUrl, '127.0.0.1') !== false) {
$appUrl = 'https://nabeh.intaleqapp.com';
}
return $appUrl . '/otp/' . $filename; return $appUrl . '/otp/' . $filename;
} }