Add ShareURL configuration option

This commit is contained in:
Caio Cotts 2024-09-15 13:26:50 -04:00
parent d683688b0e
commit f0240280eb
4 changed files with 77 additions and 5 deletions

View file

@ -69,6 +69,7 @@ type configOptions struct {
EnableStarRating bool
EnableUserEditing bool
EnableSharing bool
ShareURL string
DefaultDownloadableShare bool
DefaultTheme string
DefaultLanguage string
@ -370,6 +371,7 @@ func init() {
viper.SetDefault("devautologinusername", "")
viper.SetDefault("devactivitypanel", true)
viper.SetDefault("enablesharing", false)
viper.SetDefault("shareurl", "")
viper.SetDefault("defaultdownloadableshare", false)
viper.SetDefault("devenablebufferedscrobble", true)
viper.SetDefault("devsidebarplaylists", true)