This commit is contained in:
4
main.go
4
main.go
@@ -731,11 +731,11 @@ func (s *server) handleNewOrder(ctx context.Context, w http.ResponseWriter, r *h
|
|||||||
http.Error(w, "bad order", 400)
|
http.Error(w, "bad order", 400)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if len(req.Identifiers) == 0 {
|
/*if len(req.Identifiers) == 0 {
|
||||||
lg.Error("handleNewOrder", "req.Identifiers", "")
|
lg.Error("handleNewOrder", "req.Identifiers", "")
|
||||||
http.Error(w, "missing identifiers", 400)
|
http.Error(w, "missing identifiers", 400)
|
||||||
return
|
return
|
||||||
}
|
}*/
|
||||||
|
|
||||||
orderID := uuid.New().String()
|
orderID := uuid.New().String()
|
||||||
ordURL := fmt.Sprintf("https://%s/acme/order/%s", r.Host, orderID)
|
ordURL := fmt.Sprintf("https://%s/acme/order/%s", r.Host, orderID)
|
||||||
|
Reference in New Issue
Block a user