Pio
Pio

Reputation: 4062

How to get the hostname from emberjs

I'd like to get something what document.location.host or hostname or href returns, but from inside emberjs. As the currentpath is just the router-defined path I cannot use that.

Upvotes: 1

Views: 1713

Answers (1)

Jeremy Green
Jeremy Green

Reputation: 8574

You can use any of those things that you mentioned from inside Ember.

Upvotes: 1

Related Questions