feat: set NEXTAUTH_URL based on DEPLOY_PRIME_URL on Netlify

This commit is contained in:
Michael Zetterberg
2024-04-22 17:50:54 +02:00
parent 285f8bdcfa
commit e2252c01cf
5 changed files with 24 additions and 7 deletions
-1
View File
@@ -45,7 +45,6 @@ const customProvider = {
} satisfies OIDCConfig<User>
export const config = {
basePath: "/api/web/auth",
providers: [customProvider],
redirectProxyUrl: env.NEXTAUTH_REDIRECT_PROXY_URL,
trustHost: true,