+4
-1
packages/appview/src/index.ts
+4
-1
packages/appview/src/index.ts
···
127
127
app.use('/api', router)
128
128
129
129
// Serve static files from the frontend build
130
-
const frontendPath = path.resolve(__dirname, '../../../client/dist')
130
+
const frontendPath = path.resolve(
131
+
__dirname,
132
+
'../../../packages/client/dist',
133
+
)
131
134
132
135
// Check if the frontend build exists
133
136
if (fs.existsSync(frontendPath)) {