Retool Embed HTTPS Issue

I'm encountering issues with Retool embed after deploying my project to Vercel. While I didn't face any problems during development on localhost, I'm now receiving the following error regarding the header of the embed URL:

Mixed Content: The page at 'https://retool-frontend-xxxx.vercel.com' was loaded over HTTPS, but requested an insecure frame 'http://xxxxxxx/embed-redirect?nonce=xxxxxxxxx'. This request has been blocked; the content must be served over HTTPS.

I tried adding the below header, but it didn't fix the issue.

<meta
          http-equiv="Content-Security-Policy"
          content="upgrade-insecure-requests"
        />

Is there a workaround for this problem, or an option to ensure that the Embed URL is served over HTTPS?

Fixed by hardcoding the embedURL response to HTTPS before passing it into the Retool component.