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:
@@ -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);
|
||||
|
||||
@@ -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" });
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user