Fixed bug in API paths when app is deployed on dev.sense-os.nl