Clouda-team / Cloudajs

Clouda Framework - A Realtime Javascript RIA Framework For Mobile WebApp
899 stars 403 forks source link

Fix for IOS loading problem. #13

Closed tongyao closed 11 years ago

tongyao commented 11 years ago

The developer who using sumeru under 0.7.0 may suffer a slow connection problem on IOS6 device.

To fix this problem, simple modify app/config/sumeru.js, around line 12, add:

clientSocketServer = clientSocketServer.replace('.duapp.com', '.sx.duapp.com');    

just above:

sumeru.config({

for version later than 0.7.0, we already have this patch built in. You don't need to do anything.