There was an error while loading. Please reload this page.
1 parent db887ee commit 8d07220Copy full SHA for 8d07220
1 file changed
src/server/index.ts
@@ -96,6 +96,10 @@ class MiraServer extends AppServer {
96
private setupRoutes(): void {
97
const app = this.getExpressApp();
98
99
+ // Serve static files from the public directory (for both dev and production)
100
+ const publicPath = path.join(__dirname, '../public');
101
+ app.use(express.static(publicPath));
102
+
103
// Serve static files from the built frontend (in production)
104
if (process.env.NODE_ENV === 'production') {
105
const staticPath = path.join(__dirname, '../../dist/frontend');
0 commit comments