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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user