doc: better comments for each route

This commit is contained in:
Émilien (perso) 2025-12-18 10:10:53 +01:00 committed by GitHub
parent 4506f04358
commit 7feab44cfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
module Invidious::Routes::Companion
# /companion
# GET /companion
def self.get_companion(env)
url = env.request.path
if env.request.query
@ -16,7 +16,7 @@ module Invidious::Routes::Companion
end
end
# /companion
# POST /companion
def self.post_companion(env)
url = env.request.path
if env.request.query