Hmm. I've just made a backup of the whole site on another server and tried connecting the app to that one and it worked. So it seems there's an issue with the webserver. I think it's connected to the same problem that it displays only in chrome with the cross origin resource sharing. I've tried working with my hosting provider but they don't know what could be wrong. Do you have any idea what settings to check?