tangled
alpha
login
or
join now
danabra.mov
/
statusphere-react
forked from
samuel.fm/statusphere-react
0
fork
atom
the statusphere demo reworked into a vite/react app in a monorepo
0
fork
atom
overview
issues
pulls
pipelines
fix path
samuel.fm
1 year ago
452689f0
0ff69106
+4
-1
1 changed file
expand all
collapse all
unified
split
packages
appview
src
index.ts
+4
-1
packages/appview/src/index.ts
···
127
app.use('/api', router)
128
129
// Serve static files from the frontend build
130
-
const frontendPath = path.resolve(__dirname, '../../../client/dist')
0
0
0
131
132
// Check if the frontend build exists
133
if (fs.existsSync(frontendPath)) {
···
127
app.use('/api', router)
128
129
// Serve static files from the frontend build
130
+
const frontendPath = path.resolve(
131
+
__dirname,
132
+
'../../../packages/client/dist',
133
+
)
134
135
// Check if the frontend build exists
136
if (fs.existsSync(frontendPath)) {