Added sockets for notifications

This commit is contained in:
2026-06-30 21:42:51 +10:00
parent 6cadd3d9e6
commit 6978510147
7 changed files with 62 additions and 17 deletions
+8 -1
View File
@@ -20,7 +20,14 @@ use Inertia\Inertia;
Route::get('/', [UserProfileController::class, 'index'])->name('home');
Route::get('/splash', [HomePageController::class, 'splash'])->name('splash');
Route::get('/broadcasting/config', function () {
return response()->json([
'key' => config('broadcasting.connections.reverb.key'),
'host' => config('broadcasting.connections.reverb.options.host'),
'port' => config('broadcasting.connections.reverb.options.port'),
'scheme' => config('broadcasting.connections.reverb.options.scheme'),
]);
});
Route::get('/dashboard', function () {
return Inertia::render('Dashboard');