cmd/sserver: remove http logging
This commit is contained in:
parent
70171b8554
commit
95b2d6f603
|
@ -5,9 +5,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/Xe/ln/ex"
|
|
||||||
"github.com/rakyll/statik/fs"
|
"github.com/rakyll/statik/fs"
|
||||||
|
|
||||||
_ "git.xeserv.us/xena/tulpaforce.tk/cmd/sserver/statik"
|
_ "git.xeserv.us/xena/tulpaforce.tk/cmd/sserver/statik"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -23,5 +21,5 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("Listening on http://127.0.0.1:%s", p)
|
log.Printf("Listening on http://127.0.0.1:%s", p)
|
||||||
log.Fatal(http.ListenAndServe(":"+p, ex.HTTPLog(http.FileServer(sfs))))
|
log.Fatal(http.ListenAndServe(":"+p, http.FileServer(sfs)))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue