Add alive request to Init command

This commit is contained in:
Andras Bacsai 2023-11-15 10:26:31 +01:00
parent 25bf8895e2
commit 82592c8222

View File

@ -35,10 +35,11 @@ public function handle()
}
private function alive()
{
echo "Sending alive request.\n";
$id = config('app.id');
$settings = InstanceSettings::get();
$do_not_track = data_get($settings, 'do_not_track');
if ($do_not_track) {
if ($do_not_track == true) {
return;
}
try {