How do I get service binding to work locally

I have a service binding from my web app (remix) to a API worker. I created at wrangler.toml file and added the binding in the web app and it was working. However since upgrading the wrangler package it seems to have stoped working,
Was this page helpful?