Skip to content

Commit

Permalink
Fix: connecting to ws is failing
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmullapudi committed Nov 27, 2024
1 parent 15c8d08 commit 17d66fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const recipeList = (
const cookieSettings = isProd
? {
cookieDomain: '.tegon.ai',
olderCookieDomain: 'app.tegon.ai',
olderCookieDomain: '',
cookieSecure: true,
}
: {};
Expand Down
3 changes: 2 additions & 1 deletion apps/server/src/modules/sync/sync.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export class SyncGateway implements OnGatewayInit, OnGatewayConnection {
});

const { query, headers } = client.handshake;
const isValid = await isValidAuthentication(headers);
// TODO: (imp) fix this
const isValid = isValidAuthentication(headers);

if (!isValid) {
this.logger.info({
Expand Down

0 comments on commit 17d66fd

Please sign in to comment.