diff options
author | Vitaly Takmazov | 2022-10-30 00:58:33 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | 5e53e6d06e8d18f0871dfa673acd100c2f2e9e7a (patch) | |
tree | 2d1284ba37b4595f5f63cecb8b072bba082ea139 /vnext/server/index.js | |
parent | 059a5a13a8018676110796048b2e98943af42eb6 (diff) |
Bundle server with esbuild
Diffstat (limited to 'vnext/server/index.js')
-rw-r--r-- | vnext/server/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/server/index.js b/vnext/server/index.js index 12093b1b..5840b586 100644 --- a/vnext/server/index.js +++ b/vnext/server/index.js @@ -20,7 +20,7 @@ router.use('^/$', serverRenderer); // other static resources should just be served as they are router.use(express.static( - path.resolve(__dirname, '..', 'dist'), + path.resolve(__dirname), { maxAge: '30d' }, )); |