diff --git a/packages/hoppscotch-backend/docker-compose.yml b/packages/hoppscotch-backend/docker-compose.yml index a27bd2c7d..f9f606083 100644 --- a/packages/hoppscotch-backend/docker-compose.yml +++ b/packages/hoppscotch-backend/docker-compose.yml @@ -2,6 +2,8 @@ version: '3.0' services: local: build: . + env_file: + - .env command: [ "pnpm", "run", "start:dev" ] environment: - PRODUCTION=false diff --git a/packages/hoppscotch-backend/src/auth/helper.ts b/packages/hoppscotch-backend/src/auth/helper.ts index 50231a5a2..979dc46dd 100644 --- a/packages/hoppscotch-backend/src/auth/helper.ts +++ b/packages/hoppscotch-backend/src/auth/helper.ts @@ -54,7 +54,7 @@ export const authCookieHandler = ( }; /** - * Sets and returns the cookies in the response object on successful authentication + * Decode the cookie header from incoming websocket connects and returns a auth token pair * @param rawCookies cookies from the websocket connection * @returns AuthTokens for JWT strategy to use */