Skip to content

Commit

Permalink
Merge pull request #1003 from 99designs/fix-chat-example
Browse files Browse the repository at this point in the history
fix chat example
  • Loading branch information
vektah authored Feb 4, 2020
2 parents 8ed2ec5 + 6bf8841 commit 34c92eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/chat/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func main() {

srv := handler.New(chat.NewExecutableSchema(chat.New()))

srv.AddTransport(transport.POST{})
srv.AddTransport(transport.Websocket{
KeepAlivePingInterval: 10 * time.Second,
Upgrader: websocket.Upgrader{
Expand Down

0 comments on commit 34c92eb

Please sign in to comment.