Change the default scanner to use new implementation
This commit is contained in:
@@ -40,7 +40,7 @@ type configOptions struct {
|
||||
// DevFlags. These are used to enable/disable debugging and incomplete features
|
||||
DevLogSourceLine bool
|
||||
DevAutoCreateAdminPassword string
|
||||
DevNewScanner bool
|
||||
DevOldScanner bool
|
||||
}
|
||||
|
||||
var Server = &configOptions{}
|
||||
@@ -99,7 +99,7 @@ func init() {
|
||||
// DevFlags. These are used to enable/disable debugging and incomplete features
|
||||
viper.SetDefault("devlogsourceline", false)
|
||||
viper.SetDefault("devautocreateadminpassword", "")
|
||||
viper.SetDefault("devnewscanner", false)
|
||||
viper.SetDefault("devoldscanner", false)
|
||||
}
|
||||
|
||||
func InitConfig(cfgFile string) {
|
||||
|
||||
Reference in New Issue
Block a user