I made an algorithmic permashortlink for my blog

I had a short domain doing nothing, so I built a permashortlink system for my blog posts based on Base36. Did it using Next.js middleware and saw one YYMMDD mistake I definitely should have caught earlier.