forked from midou/invidious
Fix content-type for captions
This commit is contained in:
@@ -825,17 +825,17 @@ struct Video
|
||||
end
|
||||
|
||||
struct Caption
|
||||
JSON.mapping(
|
||||
name: CaptionName,
|
||||
baseUrl: String,
|
||||
languageCode: String
|
||||
)
|
||||
json_mapping({
|
||||
name: CaptionName,
|
||||
baseUrl: String,
|
||||
languageCode: String,
|
||||
})
|
||||
end
|
||||
|
||||
struct CaptionName
|
||||
JSON.mapping(
|
||||
json_mapping({
|
||||
simpleText: String,
|
||||
)
|
||||
})
|
||||
end
|
||||
|
||||
class VideoRedirect < Exception
|
||||
|
||||
Reference in New Issue
Block a user