Add (facebook)

This commit is contained in:
2023-11-21 03:10:27 +08:00
parent e0e13567d1
commit 4195aca2fe
8 changed files with 120 additions and 2 deletions

View File

@@ -6,6 +6,8 @@
use Exception;
use LaravelFreelancerNL\LaravelIndexNow\Facades\IndexNow;
use LaravelGoogleIndexing;
use Illuminate\Support\Facades\Notification;
use App\Notifications\PostWasPublished;
class PublishIndexPostTask
{
@@ -35,6 +37,13 @@ public static function handle(int $post_id)
}
Notification::route('facebook','default')->notify(new PostWasPublished($post));
}
}
}