You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above domain mentioned in set-cookie response headers is not available on prod on page refresh due to which it is setting two auth.token cookies, one with .harmoney.dev and one with www.harmoney.dev.
What I tried till now:
Since production has build being served, so I built my code locally using yarn build and then did yarn start which is the same command as on prod docker file.
It is working fine while running build locally, but failing on prod.
Dockerfile:
FROM node:22.3.0-slim
....
RUN yarn install \
--prefer-offline \
--frozen-lockfile \
--non-interactive \
--production=false
COPY . .
RUN yarn build
ENV HOST 0.0.0.0
EXPOSE 3000
CMD ["yarn", "start"]
Environment
Reproduction
Not able to reproduce this locally.
Describe the bug
The above domain mentioned in set-cookie response headers is not available on prod on page refresh due to which it is setting two auth.token cookies, one with
.harmoney.dev
and one withwww.harmoney.dev
.What I tried till now:
build
being served, so I built my code locally using yarn build and then did yarn start which is the same command as on prod docker file.Dockerfile:
nuxt.config.ts:
NUXT_PUBLIC_COOKIE_DOMAIN is equal to
.harmoney.dev
and I am running local setup using caddy to mimic exact frontend as well.Makefile:
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: