Currently we return the UI from the /ui/ endpoint prefix. This isn't great as it means a user needs to navigate to /ui. In a SPA any route should return the app except for if there's another file hosted with that name e.g. favicon.ico There are two approaches to resolving this.
- Have a separate server for the SPA and then a backend server.
- Have all backend logic namespaced under /ai
|