Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ export default defineConfig({
'@': path.resolve(__dirname, './src'),
},
},
build: {
outDir: path.resolve(__dirname, '../dist/public'),
emptyOutDir: true,
},
server: {
port: 5173,
proxy: {
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ See documentation for more details on configuring database connections.
});

// Serve static frontend files
const frontendPath = path.join(__dirname, "..", "frontend", "dist");
const frontendPath = path.join(__dirname, "public");
app.use(express.static(frontendPath));

// Health check endpoint
Expand Down
Loading