diff --git a/src/mixins/photos.js b/src/mixins/photos.js index 30a8580..6bb5d20 100644 --- a/src/mixins/photos.js +++ b/src/mixins/photos.js @@ -1,7 +1,11 @@ export default { methods: { photoSrc (photo, size) { - return 'https://images.sotl.as/photos/' + size + '/' + photo.filename.substring(0, 2) + '/' + photo.filename + if (size === 'original') { + return 'https://sotlas.s3.eu-central-003.backblazeb2.com/' + photo.filename + } else { + return 'https://images.sotl.as/photos/' + size + '/' + photo.filename.substring(0, 2) + '/' + photo.filename + } } } }