Set Content-Type header to application/json

Fixes #1
This commit is contained in:
Bendodroid 2023-11-05 18:11:29 +01:00
parent 1a9922d5f1
commit da448e5be3
Signed by: bendodroid
GPG key ID: 3EEE19A0F73D5FFC

View file

@ -68,6 +68,7 @@ func main() {
return
}
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
_, _ = w.Write(response)
})