Skip to content

Commit

Permalink
Issue #8 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita committed May 15, 2012
1 parent 097aa99 commit 73a9868
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ private void onPost(UUID sessionId, Channel channel, HttpRequest req) throws IOE
}

String origin = req.getHeader(HttpHeaders.Names.ORIGIN);
Channels.fireMessageReceived(channel, new PacketsMessage(client, req.getContent()));
channel.write(new XHRPostMessage(origin));
Channels.fireMessageReceived(channel, new PacketsMessage(client, req.getContent()));
}

private void onGet(UUID sessionId, Channel channel, HttpRequest req) {
Expand Down

0 comments on commit 73a9868

Please sign in to comment.