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