Skip to content

Commit

Permalink
client,webserver: Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-warrior777 committed Jan 30, 2025
1 parent 1940060 commit f6f0c74
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions client/app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,17 @@ func (cfg *Config) Web(c *core.Core, mm *mm.MarketMaker, log dex.Logger, utc boo
}

return &webserver.Config{
DataDir: filepath.Join(cfg.AppData, "srv"),
Core: c,
MarketMaker: mmCore,
Addr: cfg.WebAddr,
CustomSiteDir: cfg.SiteDir,
Logger: log,
UTC: utc,
CertFile: certFile,
KeyFile: keyFile,
Language: cfg.Language,
Tor: cfg.Tor,
DataDir: filepath.Join(cfg.AppData, "srv"),
Core: c,
MarketMaker: mmCore,
Addr: cfg.WebAddr,
CustomSiteDir: cfg.SiteDir,
Logger: log,
UTC: utc,
CertFile: certFile,
KeyFile: keyFile,
Language: cfg.Language,
Tor: cfg.Tor,
MainLogFilePath: cfg.LogPath,
}
}
Expand Down
6 changes: 3 additions & 3 deletions client/webserver/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ type Config struct {
// should be used by default since site files from older distributions may
// be present on the disk. When NoEmbed is true, this also implies reloading
// and execution of html templates on each request.
NoEmbed bool
HttpProf bool
Tor bool
NoEmbed bool
HttpProf bool
Tor bool
MainLogFilePath string
}

Expand Down

0 comments on commit f6f0c74

Please sign in to comment.