I configured my own export server on EC2.
I have a file with following code:
Code: Select all
const exporter = require('highcharts-export-server')
exporter.initPool({maxWorkers: 1});
exporter.startServer();
const app = exporter.server.app
module.exports.server = app;
My question is how I can add a flag --allowCodeExecution while starting a server like this so that I can use callback functions?
Thank you.