Changed WP_HOME and WP_SITEURL – Now relative paths for CSS/JS are wrong

Got a bit of an unorthodox setup going.

First I setup an environment at DO where I used my droplet IP to setup Bedrock.
Now I’ve pointed a domain to the droplet and are ready to go live with the project. The problem I’m facing is that when I changed the env vars to reflect the domain rather than the IP I get faulty URLs to css and js.

The path looks like this:

With an extra “/” in the beginning. Not sure why and how I can rectify this.

I had made a silly mistake.
WP_HOME was set as rather than