This commit is contained in:
parent
18de1572c1
commit
eeeb242a5f
1 changed files with 1 additions and 2 deletions
3
main.go
3
main.go
|
@ -96,11 +96,10 @@ func processRebuild(ctx context.Context, w gemini.ResponseWriter, r *gemini.Requ
|
||||||
if err != nil {
|
if err != nil {
|
||||||
w.WriteHeader(gemini.StatusTemporaryFailure, "Internal server error")
|
w.WriteHeader(gemini.StatusTemporaryFailure, "Internal server error")
|
||||||
}
|
}
|
||||||
log.Println("REBUILD: success")
|
|
||||||
} else {
|
} else {
|
||||||
w.WriteHeader(gemini.StatusNotFound, "Out of space")
|
w.WriteHeader(gemini.StatusNotFound, "Out of space")
|
||||||
log.Fatal(err)
|
|
||||||
}
|
}
|
||||||
|
log.Println("REBUILD: ", rsp.Success)
|
||||||
}
|
}
|
||||||
|
|
||||||
func processFavicon(_ context.Context, w gemini.ResponseWriter, _ *gemini.Request) {
|
func processFavicon(_ context.Context, w gemini.ResponseWriter, _ *gemini.Request) {
|
||||||
|
|
Loading…
Reference in a new issue