Commit 640006352a87c35c9f0601252fec79c966fac281

Authored by Adhidarma Hadiwinoto
1 parent 15ccf1f186
Exists in master

Respon "OK" jika msg kosong pada config.do_not_reply_warning_on_empty_message

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

lib/http-listener.js
... ... @@ -72,7 +72,7 @@ function mainHandler(req, res) {
72 72 });
73 73  
74 74 if (config.do_not_reply_warning_on_empty_message) {
75   - res.end('');
  75 + res.end('OK');
76 76 } else {
77 77 res.end(`ERROR. Undefined parameter: msg. XID: ${xid}`);
78 78 }