Skip to content

Commit de94010

Browse files
author
Andrey
committed
Fixed the license key issue
1 parent 465a0ec commit de94010

File tree

6 files changed

+1
-1
lines changed

6 files changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ app.get('/watermark/:filename-:watermark', (req, res) => {
247247
});
248248

249249
const PDFNetEndpoint = (main, pathname, res) => {
250-
PDFNet.runWithCleanup(main, process.env.PDFTRONKEY)
250+
PDFNet.runWithCleanup(main) // you can add the key to PDFNet.runWithCleanup(main, process.env.PDFTRONKEY)
251251
.then(() => {
252252
PDFNet.shutdown();
253253
fs.readFile(pathname, (err, data) => {

files/document.docx.pdf

-54 Bytes
Binary file not shown.

files/new.pdf

-72 Bytes
Binary file not shown.

files/optimized_webviewer.pdf

9 Bytes
Binary file not shown.
-813 Bytes
Binary file not shown.
13 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)