kopia lustrzana https://github.com/manuelkasper/sotlas-frontend
Update URL
rodzic
5e60b974f3
commit
9fea21d761
|
@ -2,7 +2,7 @@ export default {
|
|||
methods: {
|
||||
photoSrc (photo, size) {
|
||||
if (size === 'original') {
|
||||
return 'https://sotlas.s3.eu-central-003.backblazeb2.com/' + photo.filename
|
||||
return 'https://sotlas-photos.s3.eu-central-003.backblazeb2.com/original/' + photo.filename
|
||||
} else {
|
||||
return 'https://images.sotl.as/photos/' + size + '/' + photo.filename.substring(0, 2) + '/' + photo.filename
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue