It is mentioned in the docs that the
cf object would always be available on the
However, my worker sometimes throws an error saying
Cannot read property 'country of undefined', where undefined is supposed to be the
cf object of the request.
Now, I also have the following page rules set up for that domain (just in case) :
IP Geolocation and
True client IP header but I still don’t get the
cf object on my request.
Any suggestions ?