You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing issues with microfrontend sub-apps when deploying in production mode using modern deploy. The sub-apps throw a CORS error when trying to load in the main app. Below are the details of the error and my current configuration.
Everything works fine when I use a CORS extension. However, I have not been able to find an effective way to configure CORS for production mode in the main app. I would appreciate any guidance on how to properly configure the CORS headers to resolve this issue.
If you need more details or additional examples, please let me know.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am experiencing issues with microfrontend sub-apps when deploying in production mode using
modern deploy
. The sub-apps throw a CORS error when trying to load in the main app. Below are the details of the error and my current configuration.Observed Error:
modern.config.js
SubApp Configuration:Everything works fine when I use a CORS extension. However, I have not been able to find an effective way to configure CORS for production mode in the main app. I would appreciate any guidance on how to properly configure the CORS headers to resolve this issue.
If you need more details or additional examples, please let me know.
Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions