fix /raw action in api
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
DataHoarder 2023-08-11 23:13:50 +02:00
parent 6ba8959a8a
commit c8242808df
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk

View file

@ -1514,7 +1514,7 @@ func main() {
}
}
if requestKind == "raw" {
if requestKind == "/raw" {
writer.Header().Set("Content-Type", "text/plain")
writer.WriteHeader(http.StatusOK)
buf, _ := raw.MarshalBinary()