Open PhasecoreX opened 1 year ago
Seems like in server.js, it tries to read from ssl.cert and ssl.key even if bUseHTTPS is set to false in the config. This causes an error when starting utstats2.
server.js
ssl.cert
ssl.key
bUseHTTPS
Fixed for the next release, you can replace the contents of server.js with this to fix the error: https://github.com/scottadkin/node-utstats-2/blob/weapon-stats/server.js
Seems like in
server.js
, it tries to read fromssl.cert
andssl.key
even ifbUseHTTPS
is set to false in the config. This causes an error when starting utstats2.