git ssb

3+

andrestaltz / easy-ssb-pub



Commit e3dde63b1bf62b9a9e7dada90b58794497929b6a

Add debug log for any facade traffic

Andre Staltz committed on 2/27/2017, 2:06:08 PM
Parent: d0bcda9da81cccd37b2ce7fa22ab8b42ff721cfb

Files changed

src/index.tschanged
src/index.tsView
@@ -132,8 +132,9 @@
132132
133133 // Facade redirection server ===================================================
134134 function isHTTPTraffic(data) {
135135 const str = data.toString('ascii');
136 + debug('Facade traffic: "%s"', str);
136137 return /^.*HTTP[^\n]*\n/g.exec(str);
137138 };
138139
139140 function isSwarmTraffic(data) {

Built with git-ssb-web