comment out cdn - need to fix env so I don't need to make this change

This commit is contained in:
Sean Yesmunt 2020-12-09 12:48:36 -05:00
parent 45afd22e9e
commit dccb1c93e1

View file

@ -42,7 +42,7 @@ function FileThumbnail(props: Props) {
// @if TARGET='web'
// Pass image urls through a compression proxy
if (thumbnail && THUMBNAIL_CDN_URL && !thumbnail.includes('https://spee.ch')) {
url = `${THUMBNAIL_CDN_URL}${encodeURIComponent(thumbnail)}`;
// url = `${THUMBNAIL_CDN_URL}${encodeURIComponent(thumbnail)}`;
}
// @endif