cookie throw 404 when accessed from prod:
Unanswered
AM posted this in #help-forum
AMOP
I have these 2 actions:
and:
on localhost they work fine but on prod they throw 404
export async function signInAction({ jwt }: { jwt: string }) {
cookies().set(COOKIE_KEYS.JWT, jwt, { secure: true });
}and:
export async function isAuthAction() {
const jwt = cookies().get(COOKIE_KEYS.JWT)?.value;
return { isAuth: Boolean(jwt) };
}on localhost they work fine but on prod they throw 404