Steven Tey

Results 352 comments of Steven Tey

Ahh that's because of this code here: https://github.com/vercel/platforms/blob/main/lib/fetchers.ts#L123-L124 I just added a null check so it should work now

You can use [CSS variables](https://twitter.com/steventey/status/1677339375645126659) for this, or @crswll's [`tailwindcss-theme-swapper`](https://github.com/crswll/tailwindcss-theme-swapper): https://twitter.com/joebell_/status/1677378425470996481

Can you add steps to reproduce this? It works fine for me

Here's the link to the guide to set this up locally: https://vercel.com/guides/nextjs-multi-tenant-application (the guide OP linked is not the right one) Also, good catch about these errors, thank you, will...

Update: #247 should fix the first error!

For the second error, you'll need to get the `POSTGRES_URL_NON_POOLING` from Vercel Postgres and add it to your env file! Just pushed a commit that updates the `.env.example` file (and...

Great catch, thank you @Dannydoesdev! I just updated the guide to stick with `pnpm i`: ![CleanShot 2023-07-10 at 19 19 10](https://github.com/vercel/platforms/assets/28986134/9b592454-ec7a-4a59-83aa-e0218c087369)

You'll need a custom domain for this to work – the URL you provided above is not a custom domain (it's a Vercel preview URL). Guide: https://vercel.com/guides/nextjs-multi-tenant-application#5.-deploy-to-vercel

@perkail @imminist Awesome to hear that it works! The reason that's happening is cause of the middleware code here: https://github.com/vercel/platforms/blob/main/middleware.ts#L42-L52 You can change it to rewrite to the `/home` route...

@davidmturner is exactly right! You'll need to make sure that you are visiting the apex domain (not the `www.` version of it). Does this problem occur locally too?