feat(server): support https (#1599)

This commit is contained in:
Reed von Redwitz
2023-08-06 11:56:40 +00:00
committed by GitHub
parent e0bd5969e8
commit 5d2c8b6b3c
3 changed files with 13 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
/// <reference no-default-lib="true" />
/// <reference lib="dom" />
/// <reference lib="dom.iterable" />
/// <reference lib="dom.asynciterable" />
/// <reference lib="deno.ns" />
import { start } from "$fresh/server.ts";
import routes 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" });