mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-29 18:22:27 +00:00
Merge remote-tracking branch 'upstream'
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
# inv.nadeko.net Invidious Fork
|
# inv.nadeko.net Invidious Fork
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|||||||
@@ -237,9 +237,13 @@ https_only: false
|
|||||||
|
|
||||||
##
|
##
|
||||||
## Configuration for using a HTTP proxy
|
## Configuration for using a HTTP proxy
|
||||||
##
|
|
||||||
## If unset, then no HTTP proxy will be used.
|
## If unset, then no HTTP proxy will be used.
|
||||||
|
## Proxy type supported: HTTP, HTTPS
|
||||||
##
|
##
|
||||||
|
## This is not used for loading the video streams from YouTube servers (circumvent YouTube restrictions)
|
||||||
|
## Please instead configure the proxy in Invidious companion:
|
||||||
|
## https://github.com/iv-org/invidious-companion/blob/master/config/config.example.toml
|
||||||
|
##
|
||||||
#http_proxy:
|
#http_proxy:
|
||||||
# user:
|
# user:
|
||||||
# password:
|
# password:
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ TEST_IDS = {"AgbeGFYluEA", "BaW_jenozKc", "a9LDPn-MO4I", "ddFvjfvPnqk"
|
|||||||
MAX_ITEMS_PER_PAGE = 1500
|
MAX_ITEMS_PER_PAGE = 1500
|
||||||
|
|
||||||
REQUEST_HEADERS_WHITELIST = {"accept", "accept-encoding", "cache-control", "content-length", "if-none-match", "range"}
|
REQUEST_HEADERS_WHITELIST = {"accept", "accept-encoding", "cache-control", "content-length", "if-none-match", "range"}
|
||||||
RESPONSE_HEADERS_BLACKLIST = {"access-control-allow-origin", "alt-svc", "server"}
|
RESPONSE_HEADERS_BLACKLIST = {"access-control-allow-origin", "alt-svc", "server", "cross-origin-opener-policy-report-only", "report-to", "cross-origin", "timing-allow-origin", "cross-origin-resource-policy"}
|
||||||
HTTP_CHUNK_SIZE = 10485760 # ~10MB
|
HTTP_CHUNK_SIZE = 10485760 # ~10MB
|
||||||
|
|
||||||
CURRENT_BRANCH = {{ "#{`git branch | sed -n '/* /s///p'`.strip}" }}
|
CURRENT_BRANCH = {{ "#{`git branch | sed -n '/* /s///p'`.strip}" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user