1
0
forked from x/ContextOS

add default web

This commit is contained in:
shaoying 2018-07-30 02:05:50 +08:00
parent ba40bd9289
commit f062c3ec6b

View File

@ -591,6 +591,8 @@ func (nfs *NFS) Start(m *ctx.Message, arg ...string) bool { // {{{
nfs.Cap("termbox", "true") nfs.Cap("termbox", "true")
nfs.Conf("color", "true") nfs.Conf("color", "true")
nfs.out = m.Optionv("out").(*os.File) nfs.out = m.Optionv("out").(*os.File)
nfs.history = append(nfs.history, "open 'http://localhost:9094/upload'")
m.Capi("nline", 1)
} }
line := "" line := ""