aboutsummaryrefslogtreecommitdiff
path: root/vnext/server
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/server')
-rw-r--r--vnext/server/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/vnext/server/index.js b/vnext/server/index.js
index d58fe4c7..1fd46557 100644
--- a/vnext/server/index.js
+++ b/vnext/server/index.js
@@ -5,7 +5,7 @@ import config from 'config'
import debug from 'debug'
const log = debug('http')
-import serverRenderer from './middleware/renderer'
+//import serverRenderer from './middleware/renderer'
import event from './middleware/event'
import oembed from './middleware/oembed'
import urlExpand from './middleware/urlexpand'
@@ -36,7 +36,7 @@ const durov_webhook = webhookPath()
if (durov_webhook) {
router.post(`/api/v2/${durov_webhook}`, webhook)
}
-router.use('^/$', serverRenderer)
+//router.use('^/$', serverRenderer)
const STATIC_ROOT = config.get('service.static_root') || path.resolve(__dirname, 'public')
@@ -46,7 +46,7 @@ router.use(express.static(
{ maxAge: '30d' },
))
-router.use('*', serverRenderer)
+//router.use('*', serverRenderer)
app.use(router)