hackclub/hack-as-a-service-v0

Frontend *.html files aren't served correctly

Closed this issue · 3 comments

The dashboard should be accessible at /dashboard, not /dashboard.html

Reopening since #62 was just a temporary fix. It would be much more preferable to auto-generate a route map based on the *.html files present in the frontend's build output.

@anirudhb i can start working on this if it's fine by you

I've been researching the "right" way to do this, and I found that you can run the frontend and backend in different containers while running an Nginx proxy in a third; that might be the most containerization-y way of running both apps on a single host 🤷‍♂️