vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
6.74k stars 1.38k forks source link

Defining the "Main Deployment URL" #296

Open guylepage3 opened 9 months ago

guylepage3 commented 9 months ago

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
guylepage3 commented 9 months ago

If someone could let me know if that is correct I can create a pull request.

thorwebdev commented 9 months ago

Hey, yes, it's either https:// [ vercel-project-name ] .vercel.app or your custom domain if you have one.