Failed to load resource in forge app

Hi everyone,
I was building a forge app using custom UI and material UI for the frontend it works fine when I tunnel from my vscode but when I deploy it on the cloud it shows nothing(blank modal) and has some error when I inspect the page I have attached the picture below


. Can anyone help me with this, please?
Thank you.