mirror of
https://github.com/frappe/books.git
synced 2024-11-08 23:00:56 +00:00
FIX: PDF generation in production
This commit is contained in:
parent
a35000d820
commit
fcc8061ccd
@ -25,8 +25,7 @@ module.exports = function registerServerMethods() {
|
||||
const path = require('path');
|
||||
const { getPDFForElectron } = require('frappejs/server/pdf');
|
||||
const { getSettings } = require('../electron/settings');
|
||||
const destination = path.resolve('.');
|
||||
getPDFForElectron(doctype, name, destination, html);
|
||||
getPDFForElectron(doctype, name, undefined, html);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user