diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-01-20 22:18:56 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-01-20 22:19:14 -0600 |
| commit | 5cb57fb176bee08cf42ff4f9c4bc2272c9c562ff (patch) | |
| tree | 861ecd74116fa754faa34191fc04abd38544a3a1 | |
| parent | 95bde7bb8ae8f90266f9c2dabd06d0fcea6e63f6 (diff) | |
| download | invidious-5cb57fb176bee08cf42ff4f9c4bc2272c9c562ff.tar.gz invidious-5cb57fb176bee08cf42ff4f9c4bc2272c9c562ff.tar.bz2 invidious-5cb57fb176bee08cf42ff4f9c4bc2272c9c562ff.zip | |
Move 'domain' into config.yml
| -rw-r--r-- | config/config.yml | 1 | ||||
| -rw-r--r-- | src/invidious/helpers/helpers.cr | 5 |
2 files changed, 2 insertions, 4 deletions
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 |
