mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-06-20 13:59:21 -04:00
added json tag on routes
This commit is contained in:
@@ -158,7 +158,6 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
|
||||
defer cancel()
|
||||
|
||||
// Flags have to be injected all the way down to the go-micro service
|
||||
{
|
||||
server, err := http.Server(
|
||||
http.Logger(logger),
|
||||
|
||||
@@ -50,7 +50,7 @@ type Config struct {
|
||||
HTTP HTTP
|
||||
Tracing Tracing
|
||||
Asset Asset
|
||||
Routes []Route
|
||||
Routes []Route `json:"routes"`
|
||||
}
|
||||
|
||||
// New initializes a new configuration with or without defaults.
|
||||
|
||||
Reference in New Issue
Block a user