nfantone / highcharts-export-server

PhantomJS exporting server that allows generation of Highcharts on PDF, PNG, JPEG or SVG
MIT License
4 stars 2 forks source link

Cross posting, no ELB-friendly status URI available from server. #61

Open babbottscott opened 7 years ago

babbottscott commented 7 years ago

Refer to https://github.com/highcharts/highcharts-export-server/issues/51

Need a URI that will be ELB compatible (GET method, return code < 500)

babbottscott commented 7 years ago

I've monkey patched lib/highcharts-convert.js with if (request.method == 'GET') { // for server health validation response.statusCode = 200; response.write('OK'); response.close(); } before the post data is pulled.