Doesn't work on Firefox or Chrome but works on Microsoft Edge

It looks like you are serving index.html in response to all requests. You should instead use the path to look up the specific asset to serve, and configure index.html as an app shell.

router
  .get('/static/:path*', ({ serveStatic }) => {
    serveStatic('build/static/:path*')
  })
  .fallback(({ appShell }) => {
    appShell('build/index.html')
  })
1 Like