Stop using pointers for nested config structs, closes #41
This commit is contained in:
parent
540efa03c4
commit
855f4d3e64
2 changed files with 5 additions and 5 deletions
|
@ -47,7 +47,7 @@ func (d *Dispatch) getIndexData(r *http.Request, path string, state *State) *ind
|
|||
cfg := d.Config()
|
||||
|
||||
data := indexData{
|
||||
Defaults: cfg.Defaults,
|
||||
Defaults: &cfg.Defaults,
|
||||
HexIP: cfg.HexIP,
|
||||
Version: dispatchVersion{
|
||||
Tag: version.Tag,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue