feat: add PDF upload support to Fliesstext-Import

The import page now accepts PDF files in addition to TXT.
Backend uses pdf-parse to extract text from uploaded PDFs
before sending to AI for paragraph parsing.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
CTO (LegalAI)
2026-04-09 11:52:58 +00:00
parent c86ff8d151
commit 34047739cf
3 changed files with 84 additions and 28 deletions

View File

@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
serverExternalPackages: ["pdf-parse"],
};
export default nextConfig;