Strange routing behaviour
Unanswered
Paper wasp posted this in #help-forum
Paper waspOP
I make requests to some very old api.
It server "users" as an object instead of an array. (pic 1)
In my api route I do Object.values() (pic 2)
and it works perfect when I GET with browser (pic 3)
But when in my component, I get the object (not cropped) (pic 4)
It server "users" as an object instead of an array. (pic 1)
In my api route I do Object.values() (pic 2)
and it works perfect when I GET with browser (pic 3)
But when in my component, I get the object (not cropped) (pic 4)
2 Replies
Paper waspOP
Renamed my route.
Now I can't access it with browser URL bar,
but the component still remembers it and it keeps working. Reboots don't help.
How does this even work?
Now I can't access it with browser URL bar,
but the component still remembers it and it keeps working. Reboots don't help.
How does this even work?
Paper waspOP
Folder structure