mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-27 16:24:04 +00:00
Fix #7
This commit is contained in:
parent
e77e060bc4
commit
cbc85d9647
2 changed files with 7 additions and 7 deletions
12
bindata.go
12
bindata.go
|
@ -1593,18 +1593,18 @@ type _bintree_t struct {
|
||||||
|
|
||||||
var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
|
var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
|
||||||
"assets": &_bintree_t{nil, map[string]*_bintree_t{
|
"assets": &_bintree_t{nil, map[string]*_bintree_t{
|
||||||
"images": &_bintree_t{nil, map[string]*_bintree_t{
|
|
||||||
"ajax-loader.gif": &_bintree_t{assets_images_ajax_loader_gif, map[string]*_bintree_t{}},
|
|
||||||
"github.png": &_bintree_t{assets_images_github_png, map[string]*_bintree_t{}},
|
|
||||||
"hog.png": &_bintree_t{assets_images_hog_png, map[string]*_bintree_t{}},
|
|
||||||
}},
|
|
||||||
"js": &_bintree_t{nil, map[string]*_bintree_t{
|
"js": &_bintree_t{nil, map[string]*_bintree_t{
|
||||||
"strutil.js": &_bintree_t{assets_js_strutil_js, map[string]*_bintree_t{}},
|
|
||||||
"controllers.js": &_bintree_t{assets_js_controllers_js, map[string]*_bintree_t{}},
|
"controllers.js": &_bintree_t{assets_js_controllers_js, map[string]*_bintree_t{}},
|
||||||
|
"strutil.js": &_bintree_t{assets_js_strutil_js, map[string]*_bintree_t{}},
|
||||||
}},
|
}},
|
||||||
"templates": &_bintree_t{nil, map[string]*_bintree_t{
|
"templates": &_bintree_t{nil, map[string]*_bintree_t{
|
||||||
"index.html": &_bintree_t{assets_templates_index_html, map[string]*_bintree_t{}},
|
"index.html": &_bintree_t{assets_templates_index_html, map[string]*_bintree_t{}},
|
||||||
"layout.html": &_bintree_t{assets_templates_layout_html, map[string]*_bintree_t{}},
|
"layout.html": &_bintree_t{assets_templates_layout_html, map[string]*_bintree_t{}},
|
||||||
}},
|
}},
|
||||||
|
"images": &_bintree_t{nil, map[string]*_bintree_t{
|
||||||
|
"ajax-loader.gif": &_bintree_t{assets_images_ajax_loader_gif, map[string]*_bintree_t{}},
|
||||||
|
"github.png": &_bintree_t{assets_images_github_png, map[string]*_bintree_t{}},
|
||||||
|
"hog.png": &_bintree_t{assets_images_hog_png, map[string]*_bintree_t{}},
|
||||||
|
}},
|
||||||
}},
|
}},
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -132,7 +132,7 @@ func (c *Session) Process(line string) {
|
||||||
c.log("Processing line: %s", line)
|
c.log("Processing line: %s", line)
|
||||||
|
|
||||||
words := strings.Split(line, " ")
|
words := strings.Split(line, " ")
|
||||||
command := words[0]
|
command := strings.ToUpper(words[0])
|
||||||
args := strings.Join(words[1:len(words)], " ")
|
args := strings.Join(words[1:len(words)], " ")
|
||||||
c.log("In state %d, got command '%s', args '%s'", c.state, command, args)
|
c.log("In state %d, got command '%s', args '%s'", c.state, command, args)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue