[FEATURE] PNG added to the url format

The old URL format http://server/plantuml/img/... is now relaced by
http://server/plantuml/png/...
This commit is contained in:
Maxime Sinclair
2013-12-18 19:17:47 +01:00
parent 0212f941ca
commit f0493c581c
5 changed files with 30 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ public class ImgServlet extends UmlDiagramService {
@Override
public String getSource(String uri) {
String[] result = uri.split("/img/", 2);
String[] result = uri.split("/img/|/png/", 2);
if (result.length != 2) {
return "";
} else {