mirror of
https://github.com/iv-org/invidious.git
synced 2026-06-10 16:54:25 +00:00
Fix: Restore whitespace formatting while keeping disable_abusable_api configuration
This commit is contained in:
@@ -205,7 +205,6 @@ https_only: false
|
|||||||
# path: /tmp/invidious.sock
|
# path: /tmp/invidious.sock
|
||||||
# permissions: 777
|
# permissions: 777
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Network (outbound)
|
# Network (outbound)
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
@@ -228,7 +227,6 @@ https_only: false
|
|||||||
##
|
##
|
||||||
#pool_size: 100
|
#pool_size: 100
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
## Additional cookies to be sent when requesting the youtube API.
|
## Additional cookies to be sent when requesting the youtube API.
|
||||||
##
|
##
|
||||||
@@ -263,7 +261,6 @@ https_only: false
|
|||||||
# host:
|
# host:
|
||||||
# port:
|
# port:
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
## Use Innertube's transcripts API instead of timedtext for closed captions
|
## Use Innertube's transcripts API instead of timedtext for closed captions
|
||||||
##
|
##
|
||||||
@@ -344,7 +341,6 @@ https_only: false
|
|||||||
##
|
##
|
||||||
#statistics_enabled: false
|
#statistics_enabled: false
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Users and accounts
|
# Users and accounts
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
@@ -456,6 +452,21 @@ full_refresh: false
|
|||||||
##
|
##
|
||||||
feed_threads: 1
|
feed_threads: 1
|
||||||
|
|
||||||
|
##
|
||||||
|
## Setting to disable easy to abuse API endpoints that can
|
||||||
|
## be spammed and therefore blocking your Invidious instance.
|
||||||
|
##
|
||||||
|
## Useful for public instance maintainers.
|
||||||
|
##
|
||||||
|
## Notes: The following API endpoints will be disabled:
|
||||||
|
## - /api/v1/videos
|
||||||
|
## - /api/v1/clips
|
||||||
|
## - /api/v1/transcripts
|
||||||
|
##
|
||||||
|
## Accepted values: true, false
|
||||||
|
## Default: false
|
||||||
|
##
|
||||||
|
disable_abusable_api: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@@ -489,7 +500,6 @@ jobs:
|
|||||||
##
|
##
|
||||||
enable: true
|
enable: true
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
@@ -688,7 +698,6 @@ default_user_preferences:
|
|||||||
##
|
##
|
||||||
#captions: ["", "", ""]
|
#captions: ["", "", ""]
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Interface
|
# Interface
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
@@ -790,7 +799,6 @@ default_user_preferences:
|
|||||||
##
|
##
|
||||||
#related_videos: true
|
#related_videos: true
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Video player behavior
|
# Video player behavior
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
@@ -854,7 +862,6 @@ default_user_preferences:
|
|||||||
##
|
##
|
||||||
#video_loop: false
|
#video_loop: false
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Video playback settings
|
# Video playback settings
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
@@ -966,7 +973,6 @@ default_user_preferences:
|
|||||||
##
|
##
|
||||||
#sort: published
|
#sort: published
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
@@ -1002,14 +1008,12 @@ default_user_preferences:
|
|||||||
## Accepted values: true, false
|
## Accepted values: true, false
|
||||||
## Default: false
|
## Default: false
|
||||||
##
|
##
|
||||||
#automatic_instance_redirect: false
|
#redirect_feed: false
|
||||||
|
|
||||||
##
|
##
|
||||||
## Show the entire video description by default (when set to 'false',
|
## Show Youtube links in the top menu bar.
|
||||||
## only the first few lines of the description are shown and a
|
|
||||||
## "show more" button allows to expand it).
|
|
||||||
##
|
##
|
||||||
## Accepted values: true, false
|
## Accepted values: true, false
|
||||||
## Default: false
|
## Default: false
|
||||||
##
|
##
|
||||||
#extend_desc: false
|
#youtube_trending: false
|
||||||
|
|||||||
Reference in New Issue
Block a user