Define absolute paths in your Json call for it to work in the production server