diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-12-31 05:57:34 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-12-31 05:57:49 +0100 |
| commit | 3319b60ca946a0fad11da52bb3fee4aa66afb62c (patch) | |
| tree | 25ea604546324640388580f2ee269d244081f0e2 /examples/lib | |
| parent | bdcc83dae3742bf1c88da43a23f7278127d6251c (diff) | |
image display type in backend
Diffstat (limited to 'examples/lib')
| -rw-r--r-- | examples/lib/okpush/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/lib/okpush/index.js b/examples/lib/okpush/index.js index 6ef83c6..eb8e240 100644 --- a/examples/lib/okpush/index.js +++ b/examples/lib/okpush/index.js @@ -99,7 +99,10 @@ function OKPush (options) { }) // should work without middleware - router.post('/add', function (req, res) { + router.post('/subscribe', function (req, res) { + // add a key + }) + router.post('/unsubscribe', function (req, res) { // add a key }) |
