Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion auth/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,18 @@ app.use(json());
app.use(
cookieSession({
signed: false,
secure: process.env.NODE_ENV !== 'test'
secure: false
})
)

//did not have a cert in prod, so changed this
/*app.use(
cookieSession({
signed: false,
secure: process.env.NODE_ENV !== 'test'
})
)*/

app.use(currentUserRouter);
app.use(signinRouter);
app.use(signoutRouter);
Expand Down
9 changes: 8 additions & 1 deletion orders/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@ app.use(json());
app.use(
cookieSession({
signed: false,
secure: process.env.NODE_ENV !== 'test'
secure: false
})
)

//did not have a cert in prod, so changed this
/*app.use(
cookieSession({
signed: false,
secure: process.env.NODE_ENV !== 'test'
})
)*/


app.use(currentUser);
Expand Down
10 changes: 9 additions & 1 deletion payments/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,18 @@ app.use(json());
app.use(
cookieSession({
signed: false,
secure: process.env.NODE_ENV !== 'test'
secure: false
})
)

//did not have a cert in prod, so changed this
/*app.use(
cookieSession({
signed: false,
secure: process.env.NODE_ENV !== 'test'
})
)*/



app.use(currentUser);
Expand Down
10 changes: 9 additions & 1 deletion tickets/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,18 @@ app.use(json());
app.use(
cookieSession({
signed: false,
secure: process.env.NODE_ENV !== 'test'
secure: false
})
)

//did not have a cert in prod, so changed this
/*app.use(
cookieSession({
signed: false,
secure: process.env.NODE_ENV !== 'test'
})
)*/



app.use(currentUser);
Expand Down