mercredi 20 septembre 2017

How to change the URL in ember.js by checking platform?

I am new to ember.js.

I want to know about changing url by checking platform. I have two web app for mobile view server and web view server which are created by ember.js and tornado webserver.They are same app but different ui for mobile and web. when i type the url www.something.com in mobile browser, i want to go to the url m.something.com in mobile view server automatically and if i type the www.something.com in desktop browser, it should go to web view server automatically.

I don't know how to do that. Please help me.




Aucun commentaire:

Enregistrer un commentaire