mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 05:15:47 +00:00
set default for whole api section of config
This commit is contained in:
@@ -23,4 +23,5 @@ var ApiConfigSchema = jsonschema.Schema{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"port"},
|
Required: []string{"port"},
|
||||||
|
Default: json.RawMessage(`{"enabled": false, "port": 8080}`),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user