1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

config: Combine TemplateDir and PublicDir into UIDir

- Define static names for `templates` and `static`
This commit is contained in:
James Hillyerd
2018-03-25 11:55:23 -07:00
parent b50c926745
commit 04bb842549
4 changed files with 15 additions and 12 deletions

View File

@@ -36,8 +36,7 @@ func setupWebServer(mm message.Manager) *bytes.Buffer {
http.DefaultServeMux = http.NewServeMux()
cfg := &config.Root{
Web: config.Web{
TemplateDir: "../themes/bootstrap/templates",
PublicDir: "../themes/bootstrap/public",
UIDir: "../ui",
},
}
shutdownChan := make(chan bool)