Using prerender returns undefined://url

I’ve removed spiderable package and added prerender package to my angular-meteor app.

  "public": {
  "PrerenderIO": {
    "token": "mytoken"

This is my settings.json file

screenshot from 2016-03-04 09 40 39

after the undefined:// it’s my ip address from the server.

What am I doing wrong?

There is a known issue with protocol detection in certain cases - see the following for a workaround (hack):