mirror of https://github.com/perkeep/perkeep.git
server: ignore errors looking up optional username.
Change-Id: I457f604c60726beaf9d263c07fb0283035696fd2
This commit is contained in:
parent
c71b122e12
commit
81b4417e8c
|
@ -71,10 +71,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func newRootFromConfig(ld blobserver.Loader, conf jsonconfig.Obj) (h http.Handler, err error) {
|
func newRootFromConfig(ld blobserver.Loader, conf jsonconfig.Obj) (h http.Handler, err error) {
|
||||||
username, err := getUserName()
|
username, _ := getUserName()
|
||||||
if err != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
root := &RootHandler{
|
root := &RootHandler{
|
||||||
BlobRoot: conf.OptionalString("blobRoot", ""),
|
BlobRoot: conf.OptionalString("blobRoot", ""),
|
||||||
SearchRoot: conf.OptionalString("searchRoot", ""),
|
SearchRoot: conf.OptionalString("searchRoot", ""),
|
||||||
|
|
Loading…
Reference in New Issue