@ -5,4 +5,7 @@ import * as paths from "paths";
export default function serveApp(app: Express) {
app.use(serveStatic(paths.appBuildDir));
app.get("/*", (req, res) => {
res.sendFile(path.join(paths.publicDir, "index.html"));
});
}