Pages Functions in Astro don't work
Hi,
I'm trying to make a Pages Function, but I'm starting to lose hope. It's basically my first time playing with it... I'm using Astro as the framework of my choice.
so I made the folder in the root of the project. In there I made a simple script:
After that I ran and .
Then when I try to hit: http://127.0.0.1:8788/test
It only returns my index page. So there is some problem.
This is my Astro config if that helps:
I'm not sure if I'm missing any configuration or not doing something important in order for the functions to work.
I did try to run the project both locally and on CF with the same result, pages functions don't work.
I'll much appreaciate any help!
4 Replies