Custom UI and tunneling with React - is it supported/working?

Got a basic react app going - created using create-react-app.

I follow the instructions at https://developer.atlassian.com/platform/forge/tunneling/#connecting-the-tunnel-to-your-own-dev-server to set up the tunneling.

None of the network traffic arrives at my CRA app. Last app I ended up having to edit the webpackDevServer.config.js to disable compression but that doesn’t to work this time for me.

So… Anyone know how this tunneling is supposed to work with a basic react app?

/Daniel

Did you run forge deploy after adding the tunnel config to manifest.yml? The tunneling guide doesn’t mention it but I think you have to deploy the app once after making changes to the manifest.

1 Like

Hey, here is the template we use at Elements to quickly prototype Forge apps:

https://code.elements-apps.com/projects/ECG-2021/repos/elements-forge-template/browse

It’s based on create-react-app and the tunneling is already configured. Maye you can find a diff with your current configuration ?

1 Like

Thanks everyone! I think I was missing the deploy piece after the tunnel piece (and now it works without me having to do anything with the compression).