We have a Single SPA root app (Root App) and a microfront end application -MFE(Angular). Root App is running on port 9001 and MFE is running on port 4400.
We stored our mrt file in MFE. While loading the report file from MFE, we get a CORS issue
CORS error - localhost:4400 from origin localhost:9001.
What can we do in this case to solve this CORS issue?
Here is the code.
this.report = new Stimulsoft.Report.StiReport();
var jsonUrl = assetUrl('/stimulsoft/report-new.mrt');
this.report.loadFile(jsonUrl);
Thanks
Prem
Getting CORS issue when loading report
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Getting CORS issue when loading report
Hello,
Please check the following article:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
Thank you.
Please check the following article:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
Thank you.