forked from Qortal/qortal
Revert "Fixed bug with base path."
This reverts commit ce52b3949501cccf66240093a077686b9f48c664.
This commit is contained in:
parent
0a1ab3d685
commit
a3518d1f05
@ -24,7 +24,8 @@ public class HTMLParser {
|
||||
|
||||
public HTMLParser(String resourceId, String inPath, String prefix, boolean usePrefix, byte[] data,
|
||||
String qdnContext, Service service, String identifier, String theme) {
|
||||
this.linkPrefix = usePrefix ? String.format("%s/%s", prefix, resourceId) : "";
|
||||
String inPathWithoutFilename = inPath.contains("/") ? inPath.substring(0, inPath.lastIndexOf('/')) : "";
|
||||
this.linkPrefix = usePrefix ? String.format("%s/%s%s", prefix, resourceId, inPathWithoutFilename) : "";
|
||||
this.data = data;
|
||||
this.qdnContext = qdnContext;
|
||||
this.resourceId = resourceId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user