Embedding Twitch in an electron app

I am the OP of a previous question with a close issue: Embedding Twitch Link Error

I am trying to embed a Twitch channel in an electron app (use Vue.js). It works with this link in the localhost: “Twitch

However, it does not work when I build it for production. In production, I use the VUE_APP_API_BASE_URL as parent parameter. Am I doing anything wrong?

Thank you

Here is an example for solving this in Electron