coredns api working

This commit is contained in:
afeiszli
2021-04-27 21:07:37 -04:00
parent 9a0bab028e
commit bcbda3faac
2 changed files with 8 additions and 1 deletions

View File

@@ -406,7 +406,7 @@ func pushDNS(w http.ResponseWriter, r *http.Request) {
// Set header
w.Header().Set("Content-Type", "application/json")
err := WriteHosts()
err := WriteHosts()
if err != nil {
returnErrorResponse(w, r, formatError(err, "internal"))