Simon Willison: TILs on zeit-now

zeit-now Redirecting all paths on a Vercel instance - 2021-03-27

I wanted to redirect all traffic to https://something.vercel.app/ to a different domain - preserving the path and the querystring and serving a 301 status code. …

zeit-now Running a Python ASGI app on Vercel - 2020-04-19

Vercel really wants you to deploy static assets with serverless functions tucked away in a separate folder. They suggest creating modules like api/index.py which will be served up automatically as API backends to your client-side JavaScript. …