mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-06-06 02:10:52 +00:00
CORS should work for imagemaps too.
This commit is contained in:
parent
4c76f0389d
commit
dcc06f9afc
|
@ -174,6 +174,7 @@ public class DiagramResponse {
|
|||
if (idx < 0) {
|
||||
idx = 0;
|
||||
}
|
||||
response.addHeader("Access-Control-Allow-Origin", "*");
|
||||
response.setContentType(getContentType());
|
||||
SourceStringReader reader = new SourceStringReader(uml);
|
||||
final BlockUml blockUml = reader.getBlocks().get(0);
|
||||
|
|
Loading…
Reference in New Issue
Block a user