Chris Ian
Chris Ian

Reputation: 771

Meteor JS get the url who requested in the server publish method

How can I get url information who requested in the server publish method? Is it possible?

Upvotes: 1

Views: 531

Answers (1)

Chris Ian
Chris Ian

Reputation: 771

Ok I will answer my own question. You can used this command

this.connection.httpHeaders.host

Upvotes: 1

Related Questions