diff options
| -rw-r--r-- | lib/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/index.js b/lib/index.js index e87e4e6..7385d2f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -103,6 +103,7 @@ site.init = function(){ tag: sanitize(req.body.tag) || 'plop', remote_addr: req.ip || '127.0.0.1', }).then(function(image){ + if (req.body.ascii) console.log(req.body.ascii.length) if (process.env.SEND_ASCII && req.body.ascii && req.body.ascii.length < 800 * 100) { var stream = fs.createWriteStream("/home/panke/irc/irc.asdf.us/#ascii/in", {flags:'a'}) stream.write(req.body.ascii + "\n") |
