Do not query the history database by default

This commit is contained in:
Patrick Pacher 2023-08-01 14:08:15 +02:00
parent 6719449770
commit 9f9838b8a1
3 changed files with 4 additions and 7 deletions

View file

@ -115,8 +115,8 @@ func (m *module) prepare() error {
if err := api.RegisterEndpoint(api.Endpoint{
Path: "netquery/history/clear",
MimeType: "application/json",
Read: api.PermitUser,
Write: api.PermitUser,
Read: api.PermitUser,
BelongsTo: m.Module,
HandlerFunc: func(w http.ResponseWriter, r *http.Request) {
var body struct {