feat: move to Deno.serve (#1427)

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Lino Le Van
2023-07-12 14:37:53 +02:00
committed by GitHub
co-authored by Marvin Hagemeister
parent 46ae49d654
commit e2a1bf8643
24 changed files with 67 additions and 151 deletions
+1 -3
View File
@@ -8,6 +8,4 @@ import { start } from "$fresh/server.ts";
import routes from "./fresh.gen.ts";
import options from "./options.ts";
const experimentalDenoServe = Deno.args.includes("--experimental-deno-serve");
await start(routes, { ...options, experimentalDenoServe });
await start(routes, options);
+1 -3
View File
@@ -11,6 +11,4 @@ import { start } from "$fresh/server.ts";
import routes from "./fresh.gen.ts";
import options from "./options.ts";
const experimentalDenoServe = Deno.args.includes("--experimental-deno-serve");
await start(routes, { ...options, experimentalDenoServe });
await start(routes, options);