1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-03-02 02:31:35 +00:00

Improve documentation and errors around local mode

This commit is contained in:
Cadence Ember 2021-08-19 19:33:47 +12:00
parent 83c34f75d9
commit 539260c8de
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
4 changed files with 37 additions and 7 deletions

View file

@ -11,6 +11,7 @@ block head
block content
main.video-error-page
h2 Fetching video
p#status Waiting...
p (You can also #[a(href=`https://www.youtube.com/watch?v=${id}#cloudtube`) watch on YouTube], #[a(href="https://git.sr.ht/~cadence/tube-docs/tree/main/item/docs/newleaf/Installing%20NewLeaf.md") install NewLeaf], or just #[a(href="/settings") turn off local fetch.])
p#status.fetch-status Waiting...
form(method="post")#form.local-video-form
input(type="hidden" name="video")#video-data

View file

@ -48,7 +48,7 @@ block content
+select({
id: "local",
label: "Fetch videos from",
description: "If remote, the instance above will be used.\nIf local, CloudTube will try to connect to an instance running on your own computer. This can bypass blocks, but requires you to run the instance software.",
description: 'If remote, the instance above will be used.\nIf local, CloudTube will try to connect to an instance running on your own computer. This can bypass blocks, but requires you to run the instance software.\nIf you wish to use local mode, <a href="https://git.sr.ht/~cadence/tube-docs/tree/main/item/docs/newleaf/Installing%20NewLeaf.md">read how to install NewLeaf.</a>',
options: [
{value: "0", text: "Remote instance"},
{value: "1", text: "Locally"}