refactor: replace references of options with config (#1903)
This commit is contained in:
+3
-3
@@ -2,7 +2,7 @@ import { colors, toFileUrl } from "$fresh/src/server/deps.ts";
|
||||
import { assert } from "$std/_util/asserts.ts";
|
||||
import * as path from "$std/path/mod.ts";
|
||||
import {
|
||||
FromManifestOptions,
|
||||
FromManifestConfig,
|
||||
Manifest,
|
||||
ServeHandlerInfo,
|
||||
ServerContext,
|
||||
@@ -252,9 +252,9 @@ async function handleRequest(
|
||||
|
||||
export async function fakeServe(
|
||||
manifest: Manifest,
|
||||
options: FromManifestOptions,
|
||||
config: FromManifestConfig,
|
||||
): Promise<FakeServer> {
|
||||
const ctx = await ServerContext.fromManifest(manifest, options);
|
||||
const ctx = await ServerContext.fromManifest(manifest, config);
|
||||
const handler = ctx.handler();
|
||||
|
||||
const conn: ServeHandlerInfo = {
|
||||
|
||||
Reference in New Issue
Block a user