publichost
Version:
Make your localhost public. Tunnel HTTP and WebSocket traffic to your local machine from any domain name.
20 lines (19 loc) • 423 B
TypeScript
export type StartOptions = {
isHttps: boolean;
localhostAppPort: string;
};
export type InitOptions = {
isHttps: boolean;
port: string;
workspacePath: string;
};
export type Config = {
subdomains: Record<string, WorkspaceConfig>;
};
export type WorkspaceConfig = {
apiKey: string;
options: StartOptions;
publicHostServerHost: string;
subdomain: string;
workspacePath: string;
};