Johhan Santana
Johhan Santana

Reputation: 2425

Prerender returning undefined:// with angular-meteor app

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?

EDIT

Tried adding

"PrerenderIO": {
  "token": "mytoken"
}

to the mup.json file but still doesn't work.

Upvotes: 0

Views: 66

Answers (1)

Prerender.io
Prerender.io

Reputation: 1604

Try:

"PrerenderIO": {
  "token": "mytoken",
  "host": "yourwebsite.com",
  "protocol": "https"
}

Change yourwebsite.com to your domain and set the protocol to http or https...whichever one your site supports.

Upvotes: 1

Related Questions