add notification server url
This commit is contained in:
@@ -67,3 +67,5 @@ AWS_USE_PATH_STYLE_ENDPOINT=false
|
||||
VITE_APP_NAME="${APP_NAME}"
|
||||
|
||||
TRUSTED_IP="127.0.0.1"
|
||||
|
||||
NOTIFICATION_SERVER_URL=
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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')
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user