Skip to content

Invidious is an alternative front-end to YouTube

Move 'domain' into config.yml

Omar Roth5cb57fb176be
diff --git a/config/config.yml b/config/config.yml
index 62e80704..f981a398 100644
--- a/config/config.yml
+++ b/config/config.yml
@@ -10,3 +10,4 @@ db:
dbname: invidious
full_refresh: false
https_only: false
+domain: invidio.us
diff --git a/src/invidious/helpers/helpers.cr b/src/invidious/helpers/helpers.cr
index e25ea880..d5e233b0 100644
--- a/src/invidious/helpers/helpers.cr
+++ b/src/invidious/helpers/helpers.cr
@@ -15,10 +15,7 @@ class Config
https_only: Bool?,
hmac_key: String?,
full_refresh: Bool,
- domain: {
- type: String?,
- default: "invidio.us",
- },
+ domain: String,
})
end