Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.phoebus.logbook.Attachment;
import java.util.List;
import org.apache.commons.io.FilenameUtils;
import org.phoebus.olog.es.api.OlogHttpClient;

/**
* An {@link AttributeProvider} used to style elements of a log entry. Other types of
Expand Down Expand Up @@ -76,7 +77,7 @@ public void setAttributes(org.commonmark.node.Node node, String s, Map<String, S
if (serviceUrl.endsWith("/")) {
serviceUrl = serviceUrl.substring(0, serviceUrl.length() - 1);
}
src = serviceUrl + "/" + src;
src = serviceUrl + "/" + OlogHttpClient.OLOG_PREFIX + "/" + src;
}
// If preview flag is true, the image url 'attachment/attachment_id'
// has to be converted to 'file://attachment_path'
Expand Down