aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/middleware/renderer.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-06 14:26:04 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commite2735d40f83772835edc9accbc25f26dcd5a86b0 (patch)
tree2a196c23e8b23241a56ae823b14666c5fd55cfb2 /vnext/server/middleware/renderer.js
parent8c2b2cee1f8701479bafbd69069847e50e8f0d67 (diff)
Upgrade build environment to use esbuild and swc
Diffstat (limited to 'vnext/server/middleware/renderer.js')
-rw-r--r--vnext/server/middleware/renderer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/server/middleware/renderer.js b/vnext/server/middleware/renderer.js
index 646e7d6c..339c0449 100644
--- a/vnext/server/middleware/renderer.js
+++ b/vnext/server/middleware/renderer.js
@@ -22,7 +22,7 @@ function toBinary(string) {
return Buffer.from(String.fromCharCode(...new Uint8Array(codeUnits.buffer))).toString('base64');
}
-const STATIC_ROOT = config.get('service.static_root') || path.resolve(__dirname, 'dist');
+const STATIC_ROOT = config.get('service.static_root') || path.resolve(__dirname, 'public');
const serverRenderer = async (req, res) => {