Files
sweet/tests/fixture_render/fresh.gen.ts
T
Reed von Redwitz 5ec06350e2 fix: allow multiple set-cookie headers to be set before render (#2357)
closes #2346

The primary issue was the snippet `headers[key] = value`. This caused
only one `set-cookie` to make it through. Switching to a `Headers`
object allowed me to use `append` when appropriate, allowing for
multiple `set-cookie` entries.

I also cleaned up one of the tests to make use of steps, because I
originally broke it and couldn't immediately tell which part was
failing.
2024-03-12 12:04:42 +01:00

28 lines
977 B
TypeScript

// DO NOT EDIT. This file is generated by Fresh.
// This file SHOULD be checked into source version control.
// This file is automatically updated during development when running `dev.ts`.
import * as $cookiePasser from "./routes/cookiePasser.tsx";
import * as $head_style from "./routes/head_style.tsx";
import * as $header_arr from "./routes/header_arr.tsx";
import * as $header_instance from "./routes/header_instance.tsx";
import * as $header_obj from "./routes/header_obj.tsx";
import * as $index from "./routes/index.tsx";
import { type Manifest } from "$fresh/server.ts";
const manifest = {
routes: {
"./routes/cookiePasser.tsx": $cookiePasser,
"./routes/head_style.tsx": $head_style,
"./routes/header_arr.tsx": $header_arr,
"./routes/header_instance.tsx": $header_instance,
"./routes/header_obj.tsx": $header_obj,
"./routes/index.tsx": $index,
},
islands: {},
baseUrl: import.meta.url,
} satisfies Manifest;
export default manifest;