Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealche committed Dec 2, 2021
1 parent aa62f64 commit 55341eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/backend/src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const createSession = async (user: User) => {
{ userId: user.id, email: user.email },
process.env.TOKEN_KEY!,
{
expiresIn: "120d",
expiresIn: "15d",
}
);
return token;
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const isDev = process.env.NODE_ENV === "development";
export const frontendOrigin = isDev
? ("http://localhost:3000/" as const)
: (`https://chevayamos.com/` as const);
: (`COMPLETE ME` as const);

0 comments on commit 55341eb

Please sign in to comment.