aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/index.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-13 10:28:31 +0300
committerGravatar Vitaly Takmazov2023-01-14 10:06:45 +0300
commite3c378cbf1d502263c61d3b9c31cd270bc3ae239 (patch)
tree9e038f42349671407e6f5906681de6448565f8eb /vnext/server/index.js
parentd94eec89b104e5c839d76c74ce94e83960d49c31 (diff)
vnext: Telegram bot (WIP)
Diffstat (limited to 'vnext/server/index.js')
-rw-r--r--vnext/server/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/server/index.js b/vnext/server/index.js
index 95f88cd1..89122069 100644
--- a/vnext/server/index.js
+++ b/vnext/server/index.js
@@ -5,7 +5,6 @@ import config from 'config';
import debug from 'debug';
const log = debug('http');
-// we'll talk about this in a minute:
import serverRenderer from './middleware/renderer';
import event from './middleware/event';
import oembed from './middleware/oembed';
@@ -37,6 +36,7 @@ router.use('*', serverRenderer);
app.use(router);
+
// start the app
app.listen(PORT, (error) => {
if (error) {