summaryrefslogtreecommitdiff
path: root/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'admin.go')
-rw-r--r--admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin.go b/admin.go
index 8558cee..d31308a 100644
--- a/admin.go
+++ b/admin.go
@@ -938,7 +938,7 @@ func handleConfig(w http.ResponseWriter, r *http.Request) error {
forceReload := r.Header.Get("Cache-Control") == "must-revalidate"
err := changeConfig(r.Method, r.URL.Path, body, forceReload)
- if err != nil {
+ if err != nil && !errors.Is(err, errSameConfig) {
return err
}