From fc8e58d8dc7edcfc7786ae6a2633adf19411eddb Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 23 Sep 2017 21:58:10 +0200 Subject: hmtl --- lib/okpush/index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/okpush/index.js') diff --git a/lib/okpush/index.js b/lib/okpush/index.js index 08ab15ae..49fc5363 100644 --- a/lib/okpush/index.js +++ b/lib/okpush/index.js @@ -94,6 +94,10 @@ function OKPush (options) { }) router.get('/new', function (req, res) { + var data = { + meta: meta, + notifications: config.notifications, + } templates['new'].render(data).then(function(rendered) { res.send(rendered); }).fail(error(req, res, 500)) -- cgit v1.2.3-70-g09d2