gafirst / match-uploader

Upload FRC match videos to YouTube in a fast, consistent manner
GNU General Public License v3.0
1 stars 2 forks source link

Serve built frontend from the backend #2

Closed evan10s closed 1 year ago

evan10s commented 1 year ago

If no API route matches on the backend, serve the built frontend.

For instance, in server.ts (from hackgt/bolt):

app.get("*", isAuthenticated, (request, response) => {
  response.sendFile(path.join(__dirname, "../../client/build", "index.html"));
});
github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: