audio streaming app plyr.fm
38
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: correct image upload path in R2 storage (#332)

authored by

nate nowack and committed by
GitHub
4a9f37d7 ebe5050d

+1 -1
+1 -1
backend/src/backend/storage/r2.py
··· 152 152 # try image format 153 153 image_format, is_valid = ImageFormat.validate_and_extract(filename) 154 154 if is_valid and image_format: 155 - key = f"{file_id}{ext}" 155 + key = f"images/{file_id}{ext}" 156 156 media_type = image_format.media_type 157 157 else: 158 158 raise ValueError(