cloudflare / serverless-cloudflare-workers

Serverless provider plugin for Cloudflare Workers
BSD 3-Clause "New" or "Revised" License
175 stars 37 forks source link

The function didn't get invoked #14

Closed amrelhagary closed 5 years ago

amrelhagary commented 5 years ago

I am not sure if this an issue, I am following this guide and I am expecting to get Hello world as response but I get example.com page content.

tombrightbill commented 5 years ago

Hi there @diffdiff thanks for giving it a go. Did you update the serverless.yml file with your own domain information? If you replace 'example.com/foo/bar' with your own domain tied to the configuration (based on account + zoneid in serverless.yml). You should see the right content. Feel free to post your serverless.yml file with the account + zoneid redacted and I'll take a look.

jspies commented 5 years ago

Closing this. There have been many improvements in the docs and error messages since this was filed.