Add spectator and switch to Spectator DSL
parent
dffe8fc49e
commit
6c0486646f
File diff suppressed because one or more lines are too long
@ -0,0 +1,18 @@
|
|||||||
|
require "kemal"
|
||||||
|
require "openssl/hmac"
|
||||||
|
require "pg"
|
||||||
|
require "protodec/utils"
|
||||||
|
require "yaml"
|
||||||
|
require "../src/invidious/helpers/*"
|
||||||
|
require "../src/invidious/channels/*"
|
||||||
|
require "../src/invidious/videos"
|
||||||
|
require "../src/invidious/comments"
|
||||||
|
require "../src/invidious/playlists"
|
||||||
|
require "../src/invidious/search"
|
||||||
|
require "../src/invidious/trending"
|
||||||
|
require "spectator"
|
||||||
|
|
||||||
|
Spectator.configure do |config|
|
||||||
|
config.fail_blank
|
||||||
|
config.randomize
|
||||||
|
end
|
Loading…
Reference in New Issue