diff --git a/src/runtime/server/pdf.ts b/src/runtime/server/pdf.ts index 58ff7f8..9c2e7fd 100644 --- a/src/runtime/server/pdf.ts +++ b/src/runtime/server/pdf.ts @@ -1,6 +1,7 @@ import PDFDocument from 'pdfkit' import { sendStream, setHeader } from 'h3' import { defu } from 'defu' +import { useRuntimeConfig } from "#imports"; import type { H3Event } from 'h3' import type { WriteStream } from 'node:fs' import type { PDFOptions, PDFDocumentType } from '../types'