Error in deploy Advanced Zoom Apps Sample

Hi,

I am following your Advanced Zoom Apps Sample from github. Everything was working fine on ngrok but when i deployed app to my domain using nginx proxy i got error in dev tools console
and i am geting blank screen

Refused to execute script from 'https://mydomain.com/zoomroutes/api/zoomapp/proxy/static/js/bundle.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
home:1 
        
       Refused to execute script from 'https://mydomain.com/zoomroutes/api/zoomapp/proxy/static/js/vendors~main.chunk.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
home:1 
        
       Refused to execute script from 'https://mydomain.com/zoomroutes/api/zoomapp/proxy/static/js/main.chunk.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Hi @Mohan , are you sure those are the correct paths to your JavaScript bundles? This error looks like you are getting an HTML page as a response when requesting those endpoints.

hi daniel,

I did every thing exactly mentioned zoomapps-advancedsample-react and everything was working on ngrok tool. The problem occured when i deployed the code on my domain server. if you able to help me it will be great for me.

Below i am adding my configuration:

backend:
ports:
- “127.0.0.1:3005:3005”
- “127.0.0.1:9229:9229”
environment:
- PORT=3005
frontend:
ports:
- “127.0.0.1:3007:9080”
environment:
- PORT=9080

nginx cofiguration:

location /zoomroutes/ {
proxy_pass http://127.0.0.1:3005/;
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
#try_files $uri $uri/ =404;
}
location /zoomroutes/api/zoomapp/home {
proxy_pass http://127.0.0.1:3007/;
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
#try_files $uri $uri/ =404;
}