nextjs-subscription-payments
nextjs-subscription-payments copied to clipboard
Defining the "Main Deployment URL"
I just ran through the deployment process on the README.md and it reads well.
One thing that needs much better defining however is...
In your Supabase project, navigate to auth > URL configuration and set your main production URL (e.g. https://your-deployment-url.vercel.app/) as the site url.
When the user visits their Vercel > Project > Production Deployment page, they will see 4+ URL's and none of them have a title of "Main Production URL". We should define which of the URL's is their "Main Production URL".
I actually do not know which one is their "Main Production URL" or I would do a pull request.
I am "guessing" that the "Main Production URL" being mentioned is actually the URL under "Domains" and set as
Domains
https:// [ vercel-project-name ] .vercel.app
NOT
Deployment
https:// [ vercel-project-name ] - [ hash ] - [ username ] .vercel.app
Domains
https:// [ vercel-project-name ] - [ username ] .vercel.app
Domains
https:// [ vercel-project-name ] - [ git-main ] - [ username ] .vercel.app
If someone could let me know if that is correct I can create a pull request.
Hey, yes, it's either https:// [ vercel-project-name ] .vercel.app or your custom domain if you have one.