mirror of
https://github.com/safing/portmaster
synced 2025-09-10 23:14:35 +00:00
Do not query the history database by default
This commit is contained in:
parent
6719449770
commit
9f9838b8a1
3 changed files with 4 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue