feat: support specifying hostname and port in start (#150)
Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
co-authored by
Luca Casonato
parent
bb9fa4a09f
commit
34dc19a2f9
+3
-1
@@ -1,5 +1,5 @@
|
||||
import { ComponentType } from "../runtime/deps.ts";
|
||||
import { ConnInfo, router } from "./deps.ts";
|
||||
import { ConnInfo, router, ServeInit } from "./deps.ts";
|
||||
import {
|
||||
AppProps,
|
||||
ErrorPageProps,
|
||||
@@ -9,6 +9,8 @@ import {
|
||||
} from "../runtime/types.ts";
|
||||
import { RenderContext, RenderFn } from "./render.tsx";
|
||||
|
||||
export type StartOptions = ServeInit;
|
||||
|
||||
export interface PageModule {
|
||||
default?: ComponentType<PageProps>;
|
||||
handler?: Handler | Handlers;
|
||||
|
||||
Reference in New Issue
Block a user