Skip to content

Commit f074eb4

Browse files
committed
diffBot: Fix issues with loading images
1 parent fa96ad7 commit f074eb4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/diffBot.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,8 @@ jobs:
129129
const imageUrl = urls[index]; // Access the specific image URL
130130
131131
// Append the image URL to the comment body
132-
commentBody += `![${i}](${imageUrl})\n`;
132+
commentBody += `![${i}](${imageUrl}?raw=true)\n`;
133133
}
134-
135134
console.log('Comment body constructed:\n' + commentBody);
136135
137136
await github.rest.issues.createComment({

0 commit comments

Comments
 (0)