refactor: use manifest variable name (#1902)

Previously, the `routes` variable name was used. This change makes more
sense as the variable has the `Manifest` type.
This commit is contained in:
Asher Gomez
2023-10-11 10:03:08 +11:00
committed by GitHub
parent ded23e0a94
commit 6ce39b8cee
18 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
/// <reference lib="deno.ns" />
import { start } from "$fresh/server.ts";
import routes from "./fresh.gen.ts";
import manifest from "./fresh.gen.ts";
import options from "./options.ts";
await start(routes, options);
await start(manifest, options);
+2 -2
View File
@@ -5,8 +5,8 @@
/// <reference lib="deno.ns" />
import { start } from "$fresh/server.ts";
import routes from "./fresh.gen.ts";
import manifest from "./fresh.gen.ts";
import options from "./options.ts";
// this just exists to function as a type check to assert that we can actually pass a key and cert in
await start(routes, { ...options, key: "test", cert: "test" });
await start(manifest, { ...options, key: "test", cert: "test" });
+2 -2
View File
@@ -8,7 +8,7 @@
import "./polyfill_deno_deploy.ts";
import { start } from "$fresh/server.ts";
import routes from "./fresh.gen.ts";
import manifest from "./fresh.gen.ts";
import options from "./options.ts";
await start(routes, options);
await start(manifest, options);