Skip to content

Commit

Permalink
Update Users.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
xHomu committed Dec 22, 2023
1 parent c55c2ca commit b768116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/db/collections/Users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const Users: CollectionConfig = {
domain:
serverEnv == "development"
? "localhost"
: ${process.env.PAYLOAD_PUBLIC_HOST_DOMAIN},
: process.env.PAYLOAD_PUBLIC_HOST_DOMAIN,
secure: serverEnv == "development" ? false : true,
sameSite: serverEnv == "development" ? "lax" : "none",
},
Expand Down

0 comments on commit b768116

Please sign in to comment.