My url (localhost) :
http://localhost/nana-appication/public/
or
http://localhost/nana-appication/public/home
My url (server) :
http://dsp.nana.com/public/
or
http://dsp.nana.com/public/home
I want to eliminate :
Localhost : http://localhost/nana-appication/
Server : http://dsp.nana.com/
So when I run console.log or alerts in javascript, a result like this :
localhost or server :
public/
or
public/home
Thank you