2 parents ffc59f5 + 264d40e commit fd0799fCopy full SHA for fd0799f
1 file changed
server/src/app.ts
@@ -133,7 +133,7 @@ export async function createApp(
133
if (uiDist) {
134
app.use(express.static(uiDist));
135
app.get(/.*/, (_req, res) => {
136
- res.sendFile(path.join(uiDist, "index.html"));
+ res.sendFile("index.html", { root: uiDist });
137
});
138
} else {
139
console.warn("[paperclip] UI dist not found; running in API-only mode");
0 commit comments