mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Add devEnableShare config option (#1141)
* add devEnableShare config option * Toggle in config.js
This commit is contained in:
parent
327c259a3d
commit
7b05c49215
4 changed files with 14 additions and 0 deletions
|
@ -64,6 +64,7 @@ type configOptions struct {
|
|||
DevFastAccessCoverArt bool
|
||||
DevOldCacheLayout bool
|
||||
DevActivityPanel bool
|
||||
DevEnableShare bool
|
||||
}
|
||||
|
||||
type scannerOptions struct {
|
||||
|
@ -211,6 +212,7 @@ func init() {
|
|||
viper.SetDefault("devoldcachelayout", false)
|
||||
viper.SetDefault("devFastAccessCoverArt", false)
|
||||
viper.SetDefault("devactivitypanel", true)
|
||||
viper.SetDefault("devenableshare", false)
|
||||
}
|
||||
|
||||
func InitConfig(cfgFile string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue