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

Refactor video access route

- Move errors to separate files instead of embedding
- Consistent interface for error generation
- Move renderVideo function into route
- Fix unhandled FetchError regression from dbbe950
This commit is contained in:
Cadence Ember 2021-04-28 00:56:00 +12:00
parent 94e12a2ee8
commit 81a4d10474
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
7 changed files with 110 additions and 94 deletions

View file

@ -0,0 +1,5 @@
p The selected instance, #[code= instanceOrigin], was unreachable.
details
summary If the instance is on a private network
p The instance URL was resolved by the server. If the instance is on a private network, CloudTube will not be able to connect back to it.
p To get around this error, you may be able to use local mode, or you can run your own CloudTube within the network.