PlantUML Picoweb CORS Policy

0 votes
asked Jul 4, 2022 in Question / help by Hnqeee
Hello PlantUML Community,

I am trying to create visualization of data that I do not want to expose online. I found out about PicoWeb that could generate the diagrams and output it in SVG. The problem is that I want to fetch the SVG and import it to my web application to display and add interactions, however I run into CORS policy problems that I do not how to solve. I believe I need to configure PicoWeb to allow my origin "localhost". Is there a way for me to do this? Or are there other solution to my problem?

1 Answer

0 votes
answered Jul 4, 2022 by plantuml (294,960 points)

You can try last snapshot where we simply have added "Access-Control-Allow-Origin: *" in HTTP answers.

Tell us if it helps!

...