Drop all config attributes, just serve a config.json

This commit is contained in:
Thomas Boerger
2019-09-11 13:08:33 +02:00
parent ebfc405449
commit 39de6f69e4
7 changed files with 36 additions and 210 deletions
+1 -7
View File
@@ -14,11 +14,5 @@ func init() {
viper.SetDefault("http.root", "/")
viper.SetDefault("asset.path", "")
viper.SetDefault("config.custom", "")
viper.SetDefault("config.server", "")
viper.SetDefault("config.theme", "owncloud")
viper.SetDefault("config.version", "0.1.0")
viper.SetDefault("config.client", "")
viper.SetDefault("config.apps", []string{"files"})
viper.SetDefault("config.file", "")
}