Commit b56a3961e573ebb225da56f6de8fd9cd9efa9c31
1 parent
92511d68d9
Exists in
master
ignore non sn report
Showing 1 changed file with 6 additions and 1 deletions Side-by-side Diff
partner-datacell.js
... | ... | @@ -175,7 +175,12 @@ function createServer() { |
175 | 175 | res.end('OK'); |
176 | 176 | |
177 | 177 | console.log(body); |
178 | - topupResponseHandler(body); | |
178 | + | |
179 | + if (req.url == '/sn') { | |
180 | + topupResponseHandler(body); | |
181 | + } else { | |
182 | + console.log('Ignore non /sn report'); | |
183 | + } | |
179 | 184 | }); |
180 | 185 | }); |
181 | 186 |