Try to fix url resolution for production (localhost is a bad idea...) cloudfoundry does not support ws yet :'(