From fe8b2ac28e44c27a7182b9cdbb45ddec80abda81 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 29 Jun 2023 08:20:04 +1000 Subject: [PATCH 1/2] Update auth.mdx Include description of the NEXT_PUBLIC_SITE_URL environment variable for completeness --- apps/docs/pages/guides/auth.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/pages/guides/auth.mdx b/apps/docs/pages/guides/auth.mdx index 3aca4c66333..cd14eac480d 100644 --- a/apps/docs/pages/guides/auth.mdx +++ b/apps/docs/pages/guides/auth.mdx @@ -84,7 +84,7 @@ For deployments with Vercel, set the `SITE_URL` to your official site URL. Add t - `http://localhost:3000/**` - `https://*-username.vercel.app/**` -Vercel provides an environment variable for the URL of the deployment called `NEXT_PUBLIC_VERCEL_URL`. See the [Vercel docs](https://vercel.com/docs/concepts/projects/environment-variables#system-environment-variables) for more details. You can use this variable to dynamically redirect depending on the environment: +Vercel provides an environment variable for the URL of the deployment called `NEXT_PUBLIC_VERCEL_URL`. See the [Vercel docs](https://vercel.com/docs/concepts/projects/environment-variables#system-environment-variables) for more details. You can use this variable to dynamically redirect depending on the environment. You should also set the value of the environment variable called NEXT_PUBLIC_SITE_URL, this should be set to your site URL in production environment to ensure that redirects function correctly. ```js const getURL = () => { From e74346f8462fe5484d0a0b084dd08f7f4c350e2d Mon Sep 17 00:00:00 2001 From: Greg Richardson Date: Thu, 6 Jul 2023 11:29:24 -0600 Subject: [PATCH 2/2] ci: noop trigger