kopia lustrzana https://github.com/iv-org/invidious
Merge a9e8aabe1f
into eda7444ca4
commit
43c8038383
|
@ -31,7 +31,7 @@ module Invidious::Routes::API::V1::Feeds
|
|||
|
||||
if !CONFIG.popular_enabled
|
||||
error_message = {"error" => "Administrator has disabled this endpoint."}.to_json
|
||||
haltf env, 400, error_message
|
||||
haltf env, 403, error_message
|
||||
end
|
||||
|
||||
JSON.build do |json|
|
||||
|
|
Ładowanie…
Reference in New Issue