api route example in docs doesn't seem to work #814
Labels
help wanted
Looking for assistance on this issue
improve documentation
Enhance existing documentation.
planned
Features or content that are planned but not yet in progress.
Describe the bug
I've been frustratingly trying to understand why I can't seem to get this example from the docs to work.
https://docs.solidjs.com/solid-start/building-your-application/api-routes
routes/api/product/[category]/brand-[brand].ts
Your Example Website or App
https://stackblitz.com/edit/github-grada5-j81cuh?file=src%2Froutes%2Fapi%2Fproduct%2F%5Bcategory%5D%2Fbrand-%5Bbrand%5D.ts
Steps to Reproduce the Bug or Issue
From my understanding loading the following api route should work but I just get 404.
/api/product/tools/brand-dewalt
Expected behavior
I expected the api route to return
but I just get 404 on the route.
do I have a misunderstanding of how that route should work?
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: