aboutsummaryrefslogtreecommitdiff
path: root/src/server/routes
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-09-26 23:03:22 +0200
committerNoah Loomans <noahloomans@gmail.com>2017-09-26 23:03:22 +0200
commit1b119448248ea17df4fd87475b4d2263b077a4c3 (patch)
treec3d6335f1b39b7b45ddc6f2dbc2a0cb6485267a6 /src/server/routes
parent59ad79c467a7591dd31b121de023a8ada8b4d2f9 (diff)
Add slack command
Diffstat (limited to 'src/server/routes')
-rw-r--r--src/server/routes/slack.js11
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