0

I am using urls like this,

user1.localhost:8000//local url
user1.liveurl.com//live site url

user1 are not fixed , it could be user2,user3..... and so on.

I am trying to find these users name or dynamic subdomain.

I have checked $location in angularjs but not found any proper solution.

Should I go to split string by dot(.) or any other proper solution is present.

Please share you thoughts and idea on this.

Thanks for your help.

Shah
  • 1

0 Answers0