good morning,
I've been trying for some time to set up PDF export on the scheduler pro.
To do this, I've added the following to my scheduler:
pdfExport: {
exportServer: 'http://xxx:8080'
},
as well as the server-side installation, using the following command in the node js console:
cd bryntum server/ && npm i && node ./src/server.js -h 8080 -r /bryntum server/resources
Result:
up to date, audited 404 packages in 3s
22 packages are looking for funding
run `npm fund` for details
12 vulnerabilities (4 moderate, 8 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues possible, run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
Access-Control-Allow-Origin: *
(node:6828) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\bryntum server\node_modules\node-getopt\package.json' of './lib'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
Http server started on port 8080
When I launch the export by connecting to my app from my server, everything works.
But if I run the export from outside, I get a result with no layout:
Can you tell me where I'm making a mistake?
Thanks for your help.