refactor: replace references of options with config (#1903)
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
import { FreshOptions } from "$fresh/server.ts";
|
||||
import { FreshConfig } from "$fresh/server.ts";
|
||||
|
||||
export default {
|
||||
async render(_ctx, render) {
|
||||
@@ -8,4 +8,4 @@ export default {
|
||||
throw new Error("body is missing");
|
||||
}
|
||||
},
|
||||
} as FreshOptions;
|
||||
} as FreshConfig;
|
||||
@@ -6,6 +6,6 @@
|
||||
|
||||
import { start } from "$fresh/server.ts";
|
||||
import manifest from "./fresh.gen.ts";
|
||||
import options from "./options.ts";
|
||||
import config from "./fresh.config.ts";
|
||||
|
||||
await start(manifest, options);
|
||||
await start(manifest, config);
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
import "./polyfill_deno_deploy.ts";
|
||||
import { start } from "$fresh/server.ts";
|
||||
import manifest from "./fresh.gen.ts";
|
||||
import options from "./options.ts";
|
||||
import config from "./fresh.config.ts";
|
||||
|
||||
await start(manifest, options);
|
||||
await start(manifest, config);
|
||||
|
||||
Reference in New Issue
Block a user