Add Passkey Support & Pint
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
use App\Http\Controllers\Api\UserApiController;
|
||||
use App\Http\Controllers\HomeController;
|
||||
use App\Http\Controllers\MatrixController;
|
||||
use App\Http\Controllers\NotificationController;
|
||||
use App\Http\Controllers\PlaylistController;
|
||||
use App\Http\Controllers\ProfileController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
@@ -13,11 +15,11 @@ use Illuminate\Support\Facades\Route;
|
||||
*/
|
||||
|
||||
// Matrix
|
||||
Route::get('/join-matrix', [App\Http\Controllers\MatrixController::class, 'index'])->name('join.matrix');
|
||||
Route::get('/join-matrix', [MatrixController::class, 'index'])->name('join.matrix');
|
||||
|
||||
Route::middleware('auth')->group(function () {
|
||||
// Matrix
|
||||
Route::post('/join-matrix', [App\Http\Controllers\MatrixController::class, 'store'])->name('join.matrix.create');
|
||||
Route::post('/join-matrix', [MatrixController::class, 'store'])->name('join.matrix.create');
|
||||
|
||||
Route::get('/user/profile', [ProfileController::class, 'index'])->name('profile.show');
|
||||
Route::get('/user/comments', [ProfileController::class, 'comments'])->name('profile.comments');
|
||||
@@ -25,8 +27,8 @@ Route::middleware('auth')->group(function () {
|
||||
Route::get('/user/watched', [ProfileController::class, 'watched'])->name('user.watched');
|
||||
|
||||
// Notifications
|
||||
Route::get('/user/notifications', [App\Http\Controllers\NotificationController::class, 'index'])->name('profile.notifications');
|
||||
Route::delete('/user/notifications', [App\Http\Controllers\NotificationController::class, 'delete'])->name('profile.notifications.delete');
|
||||
Route::get('/user/notifications', [NotificationController::class, 'index'])->name('profile.notifications');
|
||||
Route::delete('/user/notifications', [NotificationController::class, 'delete'])->name('profile.notifications.delete');
|
||||
|
||||
// User Profile Actions
|
||||
Route::get('/user/settings', [ProfileController::class, 'settings'])->name('profile.settings');
|
||||
|
||||
@@ -45,6 +45,11 @@ Route::post('/get-download', [DownloadApiController::class, 'getDownload']);
|
||||
|
||||
Route::post('/update-language', [HomeController::class, 'updateLanguage'])->name('update.language');
|
||||
|
||||
/**
|
||||
* Passkey Routes
|
||||
*/
|
||||
Route::passkeys();
|
||||
|
||||
require __DIR__.'/user.php';
|
||||
require __DIR__.'/admin.php';
|
||||
require __DIR__.'/auth.php';
|
||||
|
||||
Reference in New Issue
Block a user