mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-15 06:40:34 +05:30
19 lines
440 B
Crystal
19 lines
440 B
Crystal
|
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
|