Added sockets for notifications
This commit is contained in:
+8
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user