Hacker News new | ask | show | jobs
by davidlumley 1014 days ago
> You couldve accomplished this at the webserver level

That's true, but only if you have access to your web server!

If you're using something like Vercel (or some other hosting service) to run your application, having a little middleware that handles subdomain routing is pretty common.

edit: Sorry if I've read this comment out of context - the linked repo has been taken down.