diff options
| author | Srxr <10549030+srxr@users.noreply.github.com> | 2021-06-08 21:22:14 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-08 23:22:14 +1000 |
| commit | e743a9a425ee3197649aa2c4996b8566bf75896d (patch) | |
| tree | 3fea1b47e2d180684cecc356b3194e1d8cae7540 /app/config.go | |
| parent | 7e3d72c24f96d33a89889b0f441b2b76367bd0e7 (diff) | |
Remove proprietary notices about video (#40)
* Make content proprietary configurable
* Update README
* Fixed a few template context bugs
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Diffstat (limited to 'app/config.go')
| -rw-r--r-- | app/config.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/config.go b/app/config.go index c93d2a5..e06fde0 100644 --- a/app/config.go +++ b/app/config.go @@ -12,6 +12,7 @@ type Config struct { Thumbnailer *ThumbnailerConfig `json:"thumbnailer"` Transcoder *TranscoderConfig `json:"transcoder"` Feed *FeedConfig `json:"feed"` + Copyright *Copyright `json:"copyright"` } // PathConfig settings for media library path. @@ -56,6 +57,11 @@ type FeedConfig struct { Copyright string `json:"copyright"` } +// Copyright text for App. +type Copyright struct { + Content string `json:"content"` +} + // DefaultConfig returns Config initialized with default values. func DefaultConfig() *Config { return &Config{ @@ -82,6 +88,9 @@ func DefaultConfig() *Config { Feed: &FeedConfig{ ExternalURL: "http://localhost:8000", }, + Copyright: &Copyright{ + Content: "All Content herein Public Domain and User Contributed.", + }, } } |
