We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9733974 commit 21e9c71Copy full SHA for 21e9c71
src/main/java/dev/ebullient/convert/qute/ImageRef.java
@@ -224,8 +224,10 @@ public ImageRef build() {
224
} else if (sourceUrl.startsWith("stream/")) {
225
copyToVault = true;
226
} else if (!sourceUrl.startsWith("file:/")) {
227
- sourceUrl = "file://" + imageRoot.getRootPath() + sourceUrl;
228
copyToVault = imageRoot.copyInternalToVault();
+ sourceUrl = copyToVault
229
+ ? imageRoot.getRootPath() + sourceUrl
230
+ : "file://" + imageRoot.getRootPath() + sourceUrl;
231
}
232
233
boolean localTargetSet = relativeTarget != null && vaultRoot != null && rootFilePath != null;
0 commit comments