Conversation
Bundle size differenceComparing this PR to
|
|
After some investigation into this, it looks like we'd need to choose between making the app available on a dynamic path ( Assuming we'd like to continue not constraining our app to a single level of routes, we could hardcode the publicPath to something other than Be good to catch up on this/jam on what the best way forward would be @jmbrunskill 🙏 |
|
Update on this was that it is probably best to leave, sadly, couldn't find a solution that came without falling over somewhere else... |

Closes #232
👩🏻💻 What does this PR do?
This makes it possible to run notify on a path like https://yourserver.yourdomain.com/notify/
publicPath = 'auto'mode See: https://webpack.js.org/guides/public-path/#automatic-publicpath__webpack_public_path__to calculate the graphql path, andReactRouterbasename🧪 How has/should this change been tested?
I've tried this with Caddy using a Caddy file like this.
To serve the frontend via the backend server, you also need to run
yarn build.💌 Any notes for the reviewer?
Anything else I might have missed?