1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-05-26 12:32:25 +00:00

Proxy video thumbnails through selected instance

This commit is contained in:
Cadence Ember 2020-10-18 21:51:09 +13:00
parent 2030f623a0
commit a96d97c9d8
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
9 changed files with 22 additions and 16 deletions

View file

@ -33,7 +33,8 @@ module.exports = [
})
}
}
return render(200, "pug/subscriptions.pug", {hasSubscriptions, videos, channels, refreshed, timeToPastText})
const instanceOrigin = user.getSettingsOrDefaults().instance
return render(200, "pug/subscriptions.pug", {hasSubscriptions, videos, channels, refreshed, timeToPastText, instanceOrigin})
}
}
]