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
+1 -2
View File
@@ -1,11 +1,10 @@
import { ComponentChildren, ComponentType, VNode } from "preact";
import { ServeInit } from "./deps.ts";
import * as router from "./router.ts";
import { InnerRenderFunction, RenderContext } from "./render.ts";
// --- APPLICATION CONFIGURATION ---
export type StartOptions = ServeInit & FreshOptions;
export type StartOptions = Partial<Deno.ServeTlsOptions> & FreshOptions;
export interface FreshOptions {
render?: RenderFunction;