Base: Fix ajax routing.

Don't hardcode the url to localhost.