Don't write on stdout too
This commit is contained in:
parent
4ff49b9b45
commit
bd23918d34
@ -6,7 +6,6 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
"net/http"
|
||||
"os"
|
||||
)
|
||||
|
||||
type MessagePart struct {
|
||||
@ -68,7 +67,7 @@ func (n NotifyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
if err != nil {
|
||||
fmt.Printf("error: %v\n", err)
|
||||
} else {
|
||||
os.Stdout.Write(output)
|
||||
//os.Stdout.Write(output)
|
||||
SpeakerPipe.Write(output)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user