pull down to refresh
220 sats \ 8 replies \ @k00b 8 Feb 2024 \ on: I'm planning a move to El Salvador. bitcoin
Quite a few stackers have written up their experiences there: #418100/related
@ekzyis bug. This link was
https://stacker.news/items/418100/related
Maybe it should render as #418100/related
reply
Oh, I assumed there can nothing come after
/items/[0-9]+
while writing the code.Maybe it should render as #418100/related
Makes sense!
reply
Basically everything in
pages/items/[id]
is a potential route plus any query params like commentId
which is worth keeping the special case for. There might be a way to do this generically.reply
Oh, of course, I could have looked in our pages folder. But I guess no one tests their assumptions when they are already convinced they are right.
reply
We all just need to remove that part of our brain that's convinced we're right and none of this would ever happen.
reply
that part of our brain that's convinced we're right
where is that part though
reply
I don't want to doxx the person that I'm pretty sure would make an excellent guess.
reply
Yeah, I've been reading a lot and decided to give it a try too)
reply