mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 11:19:39 -06:00
43 lines
876 B
Go
43 lines
876 B
Go
package config
|
|
|
|
func DefaultConfig() *Config {
|
|
return &Config{
|
|
Debug: Debug{
|
|
Addr: "127.0.0.1:9104",
|
|
Token: "",
|
|
Pprof: false,
|
|
Zpages: false,
|
|
},
|
|
HTTP: HTTP{
|
|
Addr: "127.0.0.1:9100",
|
|
Root: "/",
|
|
Namespace: "com.owncloud.web",
|
|
CacheTTL: 604800, // 7 days
|
|
},
|
|
Service: Service{
|
|
Name: "web",
|
|
},
|
|
Asset: Asset{
|
|
Path: "",
|
|
},
|
|
Web: Web{
|
|
Path: "",
|
|
ThemeServer: "https://localhost:9200",
|
|
ThemePath: "/themes/owncloud/theme.json",
|
|
Config: WebConfig{
|
|
Server: "https://localhost:9200",
|
|
Theme: "",
|
|
Version: "0.1.0",
|
|
OpenIDConnect: OIDC{
|
|
MetadataURL: "",
|
|
Authority: "https://localhost:9200",
|
|
ClientID: "web",
|
|
ResponseType: "code",
|
|
Scope: "openid profile email",
|
|
},
|
|
Apps: []string{"files", "search", "media-viewer", "external"},
|
|
},
|
|
},
|
|
}
|
|
}
|