Configure node server from cordova app.

11 views
Skip to first unread message

Neemar

unread,
Mar 30, 2015, 3:30:35 PM3/30/15
to phon...@googlegroups.com
I am working on an ionic app and need url rewrite to be done at node.js so it always returns index.html. How can I do this?

Jesse Monroy

unread,
Mar 31, 2015, 3:29:06 AM3/31/15
to phon...@googlegroups.com
Hi Neemar,
I want to be clear.
You want to go from
http://myhost.com/index.html
to
http://myhost.com/

If so, there several options. They are listed under "http redirection" or "http location".
Wikipedia has an explanation.

http://en.wikipedia.org/wiki/HTTP_location

Jesse
Reply all
Reply to author
Forward
0 new messages