add notification server url

This commit is contained in:
2025-05-04 13:11:58 +03:30
parent 67efae2875
commit c758b9bb5b
3 changed files with 4 additions and 1 deletions

View File

@@ -67,3 +67,5 @@ AWS_USE_PATH_STYLE_ENDPOINT=false
VITE_APP_NAME="${APP_NAME}"
TRUSTED_IP="127.0.0.1"
NOTIFICATION_SERVER_URL=

View File

@@ -17,7 +17,7 @@ class NotificationService
try
{
$response = Http::retry(3)
->post(config('global_variables.NOTIFICATION_SERVER_URL'), $data)
->post(config('globalVariables.NOTIFICATION_SERVER_URL'), $data)
->throwIfServerError();
$response_status = json_decode($response->body())->status;

View File

@@ -2,4 +2,5 @@
return [
'TRUSTED_IP' => explode(',', env("TRUSTED_IP", '127.0.0.1')),
'NOTIFICATION_SERVER_URL' => env('NOTIFICATION_SERVER_URL', '127.0.0.1')
];