middleware(['auth', 'verified'])->name('dashboard'); Route::middleware('auth')->group(function () { Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit'); Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update'); Route::delete('/profile', [ProfileController::class, 'destroy'])->name('profile.destroy'); }); Route::get('/gallery', function () { return Inertia::render('Gallery'); })->middleware(['auth', 'verified'])->name('gallery'); // Api canciones // Route::get('/songs', [SongController::class, 'index']); Route::get('/songs/stream/{id}', [SongController::class, 'stream']); Route::post('/songs', [SongController::class, 'store']); Route::put('/songs/{id}', [SongController::class, 'update']); Route::delete('/songs/{id}', [SongController::class, 'destroy']); require __DIR__.'/auth.php';