feat: deep link added
This commit is contained in:
@@ -52,6 +52,12 @@
|
||||
|
||||
|
||||
Route::get('package-names/{name}/products', [ProductController::class, 'index']);
|
||||
|
||||
// Public deep links — allow hidden (is_deeplink_only) media/categories to be
|
||||
// fetched without authentication when reached via their share link.
|
||||
Route::get('public/media/{id}', [MediaController::class, 'publicShow']);
|
||||
Route::get('public/categories/{id}', [CategoryController::class, 'publicShow']);
|
||||
|
||||
Route::prefix('auth')->controller(UserController::class)->group(function () {
|
||||
Route::post('login-with-approo-v2', [UserController::class, 'loginV2']);
|
||||
Route::middleware(['throttle:3,1'])->post('login-otp', 'loginOTP');
|
||||
|
||||
Reference in New Issue
Block a user