Should event: APIevent have client cookies on SSR?
import { type APIEvent } from "@solidjs/start/server/types";
import { app } from "./elysia";
const handler = async (event: APIEvent) => {
return await app.handle(event.request);
};
export const GET = handler;
export const POST = handler;
export const PUT = handler;
export const PATCH = handler;
export const DELETE = handler;import { type APIEvent } from "@solidjs/start/server/types";
import { app } from "./elysia";
const handler = async (event: APIEvent) => {
return await app.handle(event.request);
};
export const GET = handler;
export const POST = handler;
export const PUT = handler;
export const PATCH = handler;
export const DELETE = handler;In following code headers only have these
Headers {
"connection": "keep-alive",
"user-agent": "Bun/1.0.26",
"accept": "*/*",
"host": "localhost:3000",
"accept-encoding": "gzip, deflate, br",
} Headers {
"connection": "keep-alive",
"user-agent": "Bun/1.0.26",
"accept": "*/*",
"host": "localhost:3000",
"accept-encoding": "gzip, deflate, br",
}