From GandalfLife, 1 Month ago, written in JavaScript.
Embed
  1. app.get('*', (req, res) => {
  2.   res.sendFile(path.join(__dirname, '/../frontend/dist/frontend/index.html'));
  3. });