Skip to content

Commit 46181f1

Browse files
committed
Fix for image not downloaded for remote server.
1 parent e1522f3 commit 46181f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Image download
1313

14-
- If you want to use image download feature in test runs, you have to have the files in backend imageUploads folder to a folder in this project under public/imageUploads. This can be achieved via manual copy, docker volume mapping to this project folder etc.
14+
- If you want to use image download feature in test runs, you have to have the files in backend imageUploads folder to a folder in this project under public/static/imageUploads. This can be achieved via manual copy, docker volume mapping to this project folder etc.
1515

1616
## Local HTTPS config
1717

src/components/TestRunList/BulkOperation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export const BulkOperation: React.FunctionComponent = () => {
129129
testRunService.getDetails(id.toString())
130130
.then(
131131
(e) => {
132-
urlsToDownload.push({ "download": "imageUploads/" + e.imageName, "filename": e.name });
132+
urlsToDownload.push({ "download": "static/imageUploads/" + e.imageName, "filename": e.name });
133133
//Call getFile function only when all images names are pushed into the array.
134134
if (index === ids.length - 1) {
135135
testRunService.getFiles(urlsToDownload);

0 commit comments

Comments
 (0)