diff --git a/app/www/index.html b/app/www/index.html index 7a642d7..faf95ee 100644 --- a/app/www/index.html +++ b/app/www/index.html @@ -4,7 +4,7 @@ intval 3 -
+
diff --git a/index.js b/index.js index 4356b13..b4d9728 100644 --- a/index.js +++ b/index.js @@ -19,6 +19,8 @@ let app = restify.createServer({ function createServer () { app.get('/', index) + app.get('/dir', rDir) + app.post('/dir', rDir) app.get('/frame', rFrame) app.post('/frame', rFrame) app.get('/sequence', () => {}) @@ -29,6 +31,10 @@ function createServer () { }) } +function rDir (req, res, next) { + +} + function rFrame (req, res, next) { intval.frame() res.send({})