You're totally right. FIxed by changing the url in app.js.