We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c94bfa commit 34baa14Copy full SHA for 34baa14
src/auth.ts
@@ -5,7 +5,7 @@ const whitelist = process.env["WHITELIST"]?.split(",");
5
export const isTest = Boolean(process.env["CI"]);
6
7
export const { handlers, signIn, signOut, auth } = NextAuth({
8
- trustHost: true,
+ trustHost: isTest,
9
providers: !isTest
10
? [GitHub]
11
: [
0 commit comments