Hi! I’m seeing inconsistencies in how SPA routing is handled between localhost/Netlify Dev and my deployed app.
Specifically, I have a CRA setup with React Router (with the 200 rewrite rule enabled in my netlify.toml), and I have a route that works locally (localhost:3000/swap/0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359), but not in my deploy (https://5d015dc0f6f1d30007612a98–uniswap.netlify.com/swap/0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359). In the deploy, I’m getting the infamous
Uncaught SyntaxError: Unexpected token < errors in the console.
The repo is here (https://github.com/NoahZinsmeister/uniswap-frontend).
Pretty stumped by this one, would love some help if anyone has any ideas! Happy to provide further clarification.