summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjules <jules@carbonpictures.com>2017-05-19 11:51:11 +0000
committerjules <jules@carbonpictures.com>2017-05-19 11:51:11 +0000
commit3b832b487793f31f2f198cf1d0aabe2539e52613 (patch)
tree955891f6e9a2e1bea07749ea940d9bb478920537 /lib
parent6add1fce8f6ec98ce273ba05b2f56df4b5cae878 (diff)
remove log
Diffstat (limited to 'lib')
-rw-r--r--lib/okpush/index.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/okpush/index.js b/lib/okpush/index.js
index 9ed64bc..5e6b040 100644
--- a/lib/okpush/index.js
+++ b/lib/okpush/index.js
@@ -55,7 +55,6 @@ function OKPush (options) {
// monkeypatch because of app.use(router) .. obnoxious
router.all('/admin/(:path*)?', function (req, res, next) {
- console.log(req.url)
req.newUrl = req.url
req.url = req.originalUrl
next()
@@ -110,7 +109,6 @@ function OKPush (options) {
// should work without middleware
router.post('/add', bodyParser.json({}), function (req, res) {
-console.log(req)
db.addToken({
token: req.body.registrationId,
channel: req.body.channel,