Thanks @bjrmatos, we're using IIS and I haven't seen a difficulty before. Will continue to investigate
Posts made by kwhalleycurae
-
RE: Loading cross origin javascript file
-
Loading cross origin javascript file
Hi,
I am attempting to set a script tag on a report html recipe and experiencing a difficulty.
If both my website (hosting an iframe which the report is set to src of) and the jsreport server are the same domain I can use asset rendering like so
<script src="http://localhost:5488/assets/content/iframeResizer.contentWindow.min.js"></script>
However, if my website is on domain a, hosting a script file, and jsreport is hosted by IP, and the script tag is at the top of the recipe then the report does not render its content - it's completely blank (although the content is there)
If I move the script tag to the bottom of the recipe the content will render, but the script will not work
<script type="text/javascript" src="https://domain-a/iframeResizer.contentWindow.min.js" crossorigin="anonymous" />
Is there something particular with CORS script loading in JsReport that I'm not seeing in the config documentation?
-
RE: jsreport kill functionality
Makes sense, thank you for clearing up the misconception of jsreport kill
-
RE: jsreport kill functionality
Apologies for not being clear - I'm running the webserver and thought jsreport kill would terminate it. Should I instead plan on terminating the process via windows?
-
jsreport kill functionality
Hi,
I'm exploring creating a powershell / bash script I can use for deployment of jsreport. My concern is that I need to kill / stop any running instances of jsreport before I start the next deployment.
On my machine (Windows 10) I have two powershell windows open to the same working directory. If I run jsreport start in one, and then jsreport kill in the other the kill output is that there is no active daemon process in this working directory (even though it is clearly running)
Am I misunderstanding something?