Closed evan10s closed 1 year ago
If no API route matches on the backend, serve the built frontend.
For instance, in server.ts (from hackgt/bolt):
server.ts
app.get("*", isAuthenticated, (request, response) => { response.sendFile(path.join(__dirname, "../../client/build", "index.html")); });
:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:
v1.0.0
Your semantic-release bot :package::rocket:
If no API route matches on the backend, serve the built frontend.
For instance, in
server.ts
(from hackgt/bolt):