Skip to content

Commit c824b1b

Browse files
committed
Support of S3 storage, backend API now redirects to the right url (local or s3)
1 parent a1fbc1a commit c824b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/static.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import axios from "axios";
55
import FileSaver from "file-saver";
66

77
function getImage(name: string): string {
8-
if (name) return `${API_URL}/${name}`;
8+
if (name) return `${API_URL}/images/${name}`;
99
return noImage;
1010
}
1111

0 commit comments

Comments
 (0)