Skip to content

Commit

Permalink
Update environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
moisout committed Nov 22, 2023
1 parent 20b6566 commit 4577f8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions content/2.installation/3.configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ViewTube will check all required environment variables on startup. Check the log

| Variable | Default | Description |
| --------------------------- | ------- | --------------------------------------------------------------------------------------------------------------- |
| VIEWTUBE_CLUSTERED | false | Instruct ViewTube to start as many worker processes as it has threads available. If disabled, it will run on a single process instance. |
| VIEWTUBE_CORS_ORIGIN | _empty_ | Specify the domain allowed to make cross-origin requests to ViewTube (see: [CORS](/installation/advanced#cors)) |
| VIEWTUBE_SECURE | false | Enables some security features (CSP headers, secure cookies). Enable this if you are using an HTTPS certificate |
| VIEWTUBE_YOUTUBE_COOKIE | _empty_ | Your Youtube cookie (see: [Youtube cookies](/installation/advanced#use-cookies-from-a-real-account)) |
Expand Down
7 changes: 0 additions & 7 deletions content/2.installation/4.advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ You can provide your own cookies to circumvent this issue.
- Type `document.cookie`
- Copy the entire response into the `VIEWTUBE_YOUTUBE_COOKIE` environment variable

### YouTube identifier

- Navigate to a video
- Right click and click "view source"
- Press CTRL+F to search for "ID_TOKEN"
- Copy this value into the `VIEWTUBE_YOUTUBE_IDENTIFIER` environment variable

## Proxy

Another way to circumvent Google's rate-limiting is to use an external proxy.
Expand Down

0 comments on commit 4577f8f

Please sign in to comment.