wrangler dev error
why can i not fidn a way to dev functions/api/status.js? it works ok on the web on /api/status but i cant find a command to make it work

3 Replies
ive tried
wrangler dev functions/api/status.js wrangler dev and goign to /api/status etc it just doesnt workwrangler pages dev is probably what you're looking for
dev is for Workers, whereas Functions are a Pages concept, so you want to be using pages commandsyep thanks