diff --git a/apps/client-ts/src/middleware.ts b/apps/client-ts/src/middleware.ts index 04b7d4f6a..071aaaf20 100644 --- a/apps/client-ts/src/middleware.ts +++ b/apps/client-ts/src/middleware.ts @@ -189,7 +189,7 @@ export async function middleware(request: NextRequest) { return response; } - /*const sessionJWT = request.cookies.get("stytch_session_jwt")?.value; + const sessionJWT = request.cookies.get("stytch_session_jwt")?.value; console.log(sessionJWT) if (!sessionJWT) { return NextResponse.redirect(new URL("/b2c/login", request.url)); @@ -203,7 +203,7 @@ export async function middleware(request: NextRequest) { return NextResponse.next(); } catch (e) { return NextResponse.redirect(new URL("/b2c/login", request.url)); - }*/ + } /*const sessionJWT = request.cookies.get("session")?.value; diff --git a/packages/api/src/app.module.ts b/packages/api/src/app.module.ts index 44c814861..98f15fa79 100644 --- a/packages/api/src/app.module.ts +++ b/packages/api/src/app.module.ts @@ -64,7 +64,8 @@ import { ThrottlerGuard, ThrottlerModule } from '@nestjs/throttler'; BullModule.forRoot({ redis: { host: process.env.REDIS_HOST, - port: 6379, + port: Number(process.env.REDIS_PORT), + password: process.env.REDIS_PASS }, }), ], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8436cb821..f89106277 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -246,7 +246,7 @@ importers: apps/magic-link: dependencies: '@panora/shared': - specifier: ^4.0.0 + specifier: ^1.1.2 version: link:../../packages/shared '@panora/typescript-sdk': specifier: ^1.0.3