From 5cb57fb176bee08cf42ff4f9c4bc2272c9c562ff Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 20 Jan 2019 22:18:56 -0600 Subject: [PATCH] Move 'domain' into config.yml --- config/config.yml | 1 + src/invidious/helpers/helpers.cr | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config/config.yml b/config/config.yml index 62e807042..f981a398a 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 e25ea8801..d5e233b08 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