mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-09 17:08:03 +00:00
fix csp + progress proxy + allow omit public_url
This commit is contained in:
@@ -80,12 +80,20 @@ db:
|
||||
## Both parameter can have identical URL when Invidious is hosted in
|
||||
## an internal network or at home or locally (localhost).
|
||||
##
|
||||
## NOTE: If public_url is omitted, Invidious will use its built-in proxy
|
||||
## to route companion requests through /companion, which is useful for
|
||||
## simple setups where companion runs on the same network. When using
|
||||
## the built-in proxy, CSP headers are not modified since requests
|
||||
## stay within the same domain.
|
||||
##
|
||||
## Accepted values: "http(s)://<IP-HOSTNAME>:<Port>"
|
||||
## Default: <none>
|
||||
##
|
||||
#invidious_companion:
|
||||
# - private_url: "http://localhost:8282/companion"
|
||||
# public_url: "http://localhost:8282/companion"
|
||||
# # Example with built-in proxy (omit public_url):
|
||||
# # - private_url: "http://localhost:8282/companion"
|
||||
|
||||
##
|
||||
## API key for Invidious companion, used for securing the communication
|
||||
|
Reference in New Issue
Block a user