diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-09-26 23:03:22 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-09-26 23:03:22 +0200 |
commit | 1b119448248ea17df4fd87475b4d2263b077a4c3 (patch) | |
tree | c3d6335f1b39b7b45ddc6f2dbc2a0cb6485267a6 /src/server/routes | |
parent | 59ad79c467a7591dd31b121de023a8ada8b4d2f9 (diff) |
Add slack command
Diffstat (limited to 'src/server/routes')
-rw-r--r-- | src/server/routes/slack.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/server/routes/slack.js b/src/server/routes/slack.js new file mode 100644 index 0000000..0fa6218 --- /dev/null +++ b/src/server/routes/slack.js @@ -0,0 +1,11 @@ +const express = require('express') +const router = express.Router() +const request = require('request') +const iconv = require('iconv-lite') + +router.get('/', function (req, res, next) { + console.log(req); + res.end('Will be implemented soon™!'); +}) + +module.exports = router |