Skip to content

Invidious is an alternative front-end to YouTube

Fix: Restore whitespace formatting while keeping disable_abusable_api configuration

Fijxu8f279745db98
diff --git a/config/config.example.yml b/config/config.example.yml
index 5d76acc1..97361658 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -205,7 +205,6 @@ https_only: false
# path: /tmp/invidious.sock
# permissions: 777
-
# -----------------------------
# Network (outbound)
# -----------------------------
@@ -228,7 +227,6 @@ https_only: false
##
#pool_size: 100
-
##
## Additional cookies to be sent when requesting the youtube API.
##
@@ -263,7 +261,6 @@ https_only: false
# host:
# port:
-
##
## Use Innertube's transcripts API instead of timedtext for closed captions
##
@@ -344,7 +341,6 @@ https_only: false
##
#statistics_enabled: false
-
# -----------------------------
# Users and accounts
# -----------------------------
@@ -456,6 +452,21 @@ full_refresh: false
##
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:
@@ -489,7 +500,6 @@ jobs:
##
enable: true
-
# -----------------------------
# Miscellaneous
# -----------------------------
@@ -688,7 +698,6 @@ default_user_preferences:
##
#captions: ["", "", ""]
-
# -----------------------------
# Interface
# -----------------------------
@@ -790,7 +799,6 @@ default_user_preferences:
##
#related_videos: true
-
# -----------------------------
# Video player behavior
# -----------------------------
@@ -854,7 +862,6 @@ default_user_preferences:
##
#video_loop: false
-
# -----------------------------
# Video playback settings
# -----------------------------
@@ -966,7 +973,6 @@ default_user_preferences:
##
#sort: published
-
# -----------------------------
# Miscellaneous
# -----------------------------
@@ -1002,14 +1008,12 @@ default_user_preferences:
## Accepted values: true, false
## Default: false
##
- #automatic_instance_redirect: false
+ #redirect_feed: false
##
- ## Show the entire video description by default (when set to 'false',
- ## only the first few lines of the description are shown and a
- ## "show more" button allows to expand it).
+ ## Show Youtube links in the top menu bar.
##
## Accepted values: true, false
## Default: false
##
- #extend_desc: false
+ #youtube_trending: false