From e2735d40f83772835edc9accbc25f26dcd5a86b0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 6 Nov 2022 14:26:04 +0300 Subject: Upgrade build environment to use esbuild and swc --- vnext/server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/server/index.js') diff --git a/vnext/server/index.js b/vnext/server/index.js index 7479393a..d393c4bc 100644 --- a/vnext/server/index.js +++ b/vnext/server/index.js @@ -24,7 +24,7 @@ router.get('/api/oembed', oembed); router.get('/api/urlexpand', urlExpand); router.use('^/$', serverRenderer); -const STATIC_ROOT = config.get('service.static_root') || path.resolve(__dirname, 'dist'); +const STATIC_ROOT = config.get('service.static_root') || path.resolve(__dirname, 'public'); // other static resources should just be served as they are router.use(express.static( -- cgit v1.2.3