CORS should work for imagemaps too.
This commit is contained in:
@@ -174,6 +174,7 @@ public class DiagramResponse {
|
|||||||
if (idx < 0) {
|
if (idx < 0) {
|
||||||
idx = 0;
|
idx = 0;
|
||||||
}
|
}
|
||||||
|
response.addHeader("Access-Control-Allow-Origin", "*");
|
||||||
response.setContentType(getContentType());
|
response.setContentType(getContentType());
|
||||||
SourceStringReader reader = new SourceStringReader(uml);
|
SourceStringReader reader = new SourceStringReader(uml);
|
||||||
final BlockUml blockUml = reader.getBlocks().get(0);
|
final BlockUml blockUml = reader.getBlocks().get(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user