add pdf viewer

This commit is contained in:
Yisroel Baum 2026-06-25 22:39:21 +03:00
parent f1c4e896b6
commit 208c683dac
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
7 changed files with 1114 additions and 13 deletions

View file

@ -12,6 +12,10 @@ Route::get('/me', [AuthController::class, 'me'])
->middleware(AuthMiddleware::class);
Route::get('/sets', [SetController::class, 'index']);
Route::get('/elements/{id}', [ElementController::class, 'show']);
Route::get('/element-pdfs/{folder}/{fileName}', [
ElementController::class,
'showPdf',
]);
Route::post('/elements/{parentId}/children', [
ElementController::class,
'createChild',