Skip to content

Commit 84dde86

Browse files
committed
remove some unnecessary code
1 parent 3f863d9 commit 84dde86

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

routes/web.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
use App\Http\Controllers\FileChatDetailsController;
55
use App\Http\Controllers\FileChatStoreController;
66
use App\Http\Controllers\FileController;
7-
use App\Models\File;
8-
use App\Services\Pdf\PdfService;
9-
use Illuminate\Support\Facades\Log;
107
use Illuminate\Support\Facades\Route;
118
use Inertia\Inertia;
129

@@ -28,19 +25,5 @@
2825

2926
});
3027

31-
Route::get('pdf', function () {
32-
$file = File::find(1);
33-
34-
$pdfService = app(PdfService::class);
35-
36-
$documentText = $pdfService->getPdfText($file->path);
37-
38-
$chunks = $pdfService->chunkText($documentText);
39-
40-
Log::info(count($chunks));
41-
42-
dd('live');
43-
});
44-
4528
require __DIR__.'/settings.php';
4629
require __DIR__.'/auth.php';

0 commit comments

Comments
 (0)